ResolvePackageNotFound: Create env using conda and yml file on MacOS

后端 未结 6 1292
逝去的感伤
逝去的感伤 2020-12-15 04:02

I want to create a virtual environment using conda and yml file.

Command:

conda env create -n ex3 -f env.yml

Type ENTER it gives fo

6条回答
  •  无人及你
    2020-12-15 04:29

    I had same problem and found your question googling for it.

    ResolvePackageNotFound error describes all packages not installed yet, but required.

    To solve the problem, move them under pip section:

    name: ex3
    channels:
    - menpo
    - defaults
    dependencies:
      - cairo=1.14.8=0
      - ***
      - another dependencies, except not found ones
      - pip:
        - gst-plugins-base==1.8.0                
        - bleach==1.5.0
        - enum34==1.1.6
        - html5lib==0.9999999
        - markdown==2.6.11
        - protobuf==3.5.1
        - tensorflow==1.4.1
        - tensorflow-tensorboard==0.4.0
        - werkzeug==0.14.1
        *** added ***
        - gst-plugins-base==1.8.0
        - dbus==1.10.20
        - opencv3==3.2.0
        - qt==5.6.2
        - libxcb==1.12
        - libgcc==5.2.0
        - gstreamer==1.8.0
    

提交回复
热议问题