.yml file

share an environment with others by environment.yml file.

Use the terminal or an Anaconda Prompt for the following steps:

Create the environment from the environment.yml file

condaenvcreate-fenvironment.yml

The first line of the yml file sets the new environment's name. 

Activate the new environment: conda activate myenv

Note:Replace myenv with the environment name.

Verify that the new environment was installed correctly:

conda   list


Managing environments — conda 4.7.11.post17+1eb46d8e documentation

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,436评论 0 10
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,850评论 0 23
  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 2,928评论 0 0
  • 连续好几天低温感觉都快把人冻傻了,下班没事干都是早早溜回宿舍躲着。看了几集麦瑟尔夫人然后洗洗上床取暖。跟萍还有好些...
    等待蓝蓝天阅读 103评论 0 0
  • 恶人总是先告状 为什么总是恶人先告状呢?因为恶人做错了,没做错的人根本意识不到那是一件值得告状的事情,所以就导致了...
    辣条配泡芙阅读 133评论 0 0