安装Miniconda 4.2.11并在创建环境时出现导入错误

时间:2016-11-02 18:36:02

标签: anaconda conda miniconda

我能够从environment.yml文件创建环境,该文件的版本号为4.2.7,但最近我的桌面上的miniconda发行版更新为4.2.11。我可以回到之前的发行版吗?

错误摘录:

    Traceback (most recent call last):
    File "/Users/ramya/miniconda2/bin/conda-env", line 4, in <module>
    import conda_env.cli.main
    File "/Users/ramya/miniconda2/lib/python2.7/site-packages/conda_env/cli/main.py", line 35, in <module>
    from . import main_attach
    File "/Users/ramya/miniconda2/lib/python2.7/site-packages/conda_env/cli/main_attach.py", line 4, in <module>
    from ..env import from_environment
    File "/Users/ramya/miniconda2/lib/python2.7/site-packages/conda_env/env.py", line 17, in <module>
    from . import yaml
    File "/Users/ramya/miniconda2/lib/python2.7/site-packages/conda_env/yaml.py", line 8, in <module>
    import yaml

1 个答案:

答案 0 :(得分:0)

在这里回答我自己的问题 - 我先前下载了Miniconda(Miniconda2-l​​atest-MacOSX-x86_64.sh)安装文件并创建了我的环境来解决我的问题。