使用'python setup.py development'创建conda环境时出错

时间:2019-10-29 01:58:20

标签: conda flow-project

首先,在我运行命令conda env create -f environment.yml之后。我收到以下警告:

Warning : you have pip-isntalled dependencies in your environment file, but you do not list pip itself as one of your conda dependencies...`

然后在pip==19.3.1中添加environment.yml。这是我的environment.yml

   name: flow

dependencies:
    - python==3.6.8
    - scipy==1.1.0
    - lxml==4.2.4
    - six==1.11.0
    - path.py
    - python-dateutil==2.7.3
    - tensorflow==1.9.0
    - cloudpickle==1.2.1
    - setuptools==41.0.0
    - pip==19.3.1
    - pip:
        - gym==0.14.0
        - pyprind==2.11.2
        - nose2==0.8.0
        - cached_property
        - joblib==0.10.3
        - matplotlib==3.0.0
        - dill
        - lz4
        - ray==0.7.3
        - setproctitle
        - psutil
        - opencv-python
        - boto3==1.4.8
        - redis~=2.10.6

运行python setup.py develop时,出现以下错误:

error: cloudpickle 0.5.3 is installed but cloudpickle~=1.2.0 is required by {'gym'}

我应该重新安装cloudpickle~=1.2.0吗?

1 个答案:

答案 0 :(得分:0)

感谢您指出这一点!如果您在Github上发布问题,我们会将其升级添加到我们的环境文件中。但是,由于我们在健身房中不进行任何挑剔的举动,因此该错误几乎肯定不是重大错误。