Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant create an environment from the environment.yml #26

Open
LeroxHD opened this issue Feb 1, 2022 · 11 comments
Open

Cant create an environment from the environment.yml #26

LeroxHD opened this issue Feb 1, 2022 · 11 comments

Comments

@LeroxHD
Copy link

LeroxHD commented Feb 1, 2022

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • pyqt==5.9.2=py37h05f1152_2
  • setuptools==52.0.0=py37h06a4308_0
  • pyyaml==5.4.1=py37h27cfd23_1
  • pyrsistent==0.17.3=py37h7b6447c_0
  • pcre==8.45=h295c915_0
  • numpy-base==1.20.3=py37h74d4b33_0
  • xz==5.2.5=h7b6447c_0
  • readline==8.1=h27cfd23_0
  • notebook==6.4.3=py37h06a4308_0
  • ipython==7.26.0=py37hb070fc8_0
  • numpy==1.20.3=py37hf144106_0
  • jupyter_core==4.7.1=py37h06a4308_0
  • libsodium==1.0.18=h7b6447c_0
  • libuuid==1.0.3=h1bed415_2
  • libidn2==2.3.2=h7f8727e_0
  • libgfortran-ng==7.3.0=hdf63c60_0
  • scipy==1.6.2=py37had2a1c9_1
  • cytoolz==0.11.0=py37h7b6447c_0
  • zlib==1.2.11=h7b6447c_3
  • ipykernel==6.2.0=py37h06a4308_1
  • zeromq==4.3.4=h2531618_0
  • ffmpeg==4.3=hf484d3e_0
  • freetype==2.10.4=h5ab3b9f_0
  • jpeg==9b=h024ee3a_2
  • dbus==1.13.18=hb2f20db_0
  • kiwisolver==1.3.1=py37h2531618_0
  • pyzmq==22.2.1=py37h295c915_1
  • mistune==0.8.4=py37h14c3975_1001
  • certifi==2021.10.8=py37h06a4308_0
  • fontconfig==2.13.1=h6c09931_0
  • lz4-c==1.9.3=h295c915_1
  • pandocfilters==1.4.3=py37h06a4308_1
  • openjpeg==2.3.0=h05c96fa_1
  • bzip2==1.0.8=h7b6447c_0
  • debugpy==1.4.1=py37h295c915_0
  • lame==3.100=h7b6447c_0
  • gmp==6.2.1=h2531618_2
  • libxcb==1.14=h7b6447c_0
  • zstd==1.4.9=haebb681_0
  • openssl==1.1.1l=h7f8727e_0
  • libpng==1.6.37=hbc83047_0
  • tifffile==2020.10.1=py37hdd07704_2
  • pillow==8.3.1=py37h2c7a002_0
  • libiconv==1.15=h63c8f33_5
  • mkl==2021.3.0=h06a4308_520
  • qt==5.9.7=h5867ecd_1
  • libstdcxx-ng==9.1.0=hdf63c60_0
  • sqlite==3.36.0=hc218d9a_0
  • gst-plugins-base==1.14.0=h8213a91_2
  • mkl-service==2.4.0=py37h7f8727e_0
  • libunistring==0.9.10=h27cfd23_0
  • python==3.7.11=h12debd9_0
  • jedi==0.18.0=py37h06a4308_1
  • tornado==6.1=py37h27cfd23_0
  • expat==2.4.1=h2531618_2
  • libwebp-base==1.2.0=h27cfd23_0
  • openh264==2.1.0=hd408876_0
  • glib==2.69.1=h5202010_0
  • scikit-image==0.18.1=py37ha9443f7_0
  • cudatoolkit==11.0.221=h6bb024c_0
  • mkl_random==1.2.2=py37h51133e4_0
  • matplotlib-base==3.3.4=py37h62a2d02_0
  • sip==4.19.8=py37hf484d3e_0
  • lcms2==2.12=h3be6417_0
  • pip==21.2.2=py37h06a4308_0
  • nbconvert==6.1.0=py37h06a4308_0
  • mkl_fft==1.3.0=py37h42c9631_2
  • libffi==3.3=he6710b0_2
  • argon2-cffi==20.1.0=py37h27cfd23_1
  • libtiff==4.2.0=h85742a9_0
  • nettle==3.7.3=hbbd107a_1
  • libxml2==2.9.10=hb55368b_3
  • ninja==1.10.2=hff7bd54_1
  • gnutls==3.6.15=he1e5248_0
  • libuv==1.40.0=h7b6447c_0
  • cffi==1.14.6=py37h400218f_0
  • ld_impl_linux-64==2.35.1=h7274673_9
  • importlib-metadata==3.10.0=py37h06a4308_0
  • icu==58.2=he6710b0_3
  • yaml==0.2.5=h7b6447c_0
  • ncurses==6.2=he6710b0_1
  • ca-certificates==2021.10.26=h06a4308_2
  • gstreamer==1.14.0=h28cd5cc_2
  • libtasn1==4.16.0=h27cfd23_0
  • markupsafe==2.0.1=py37h27cfd23_0
  • tk==8.6.10=hbc83047_0
  • libgcc-ng==9.1.0=hdf63c60_0
  • intel-openmp==2021.3.0=h06a4308_3350
  • pywavelets==1.1.1=py37h7b6447c_2
  • pytorch==1.7.1=py3.7_cuda11.0.221_cudnn8.0.5_0
  • terminado==0.9.4=py37h06a4308_0
  • locket==0.2.1=py37h06a4308_1
@Mpal7
Copy link

Mpal7 commented Feb 1, 2022

the enviroment.yml file is made for linux OS, i think you are probably trying to create the environment on Windows

@2blackbar
Copy link

So when it would be able to run on windows ?

@labels168
Copy link

labels168 commented Feb 7, 2022

If you need to deploy on windows, you need to do this:
pyqt==5.9.2=py37h05f1152_2
pyqt==5.9.2
or pyqt=5.9.2
setuptools==52.0.0=py37h06a4308_0
setuptools==52.0.0
or setuptools=52.0.0
.........
The second equal sign is not needed

@Mpal7
Copy link

Mpal7 commented Feb 7, 2022

If you need to deploy on windows, you need to do this:
pyqt==5.9.2=py37h05f1152_2
pyqt==5.9.2
or pyqt=5.9.2
setuptools==52.0.0=py37h06a4308_0
setuptools==52.0.0
or setuptools=52.0.0
.........
The second equal sign is not needed

@labels168 I don't think it's going to work since some other packages are only for linux distro, e.g ld_impl_linux or libgcc-ng etc

@ywon0925
Copy link

ywon0925 commented Mar 4, 2022

I'm on Mac and having the same issue when trying to create conda environment with .yml file.
Does anyone know how to set up the environment on Mac?

@guodong323
Copy link

Have you solved this problem?

@jamesrizkallah2
Copy link

jamesrizkallah2 commented May 1, 2022

I'm having the same problem here on a Mac

@jamesrizkallah2
Copy link

I was able to build the environment by first adding the pytorch and conda-forge channels manually in anaconda. I then updated the environment using,

conda env update --prefix ~/.conda/envs/Barbershop --file environment/environment.yml --prune

@jamesrizkallah2
Copy link

Im just realizing if you're on a mac you're probably not going to be able to run this unless you have a Nvidia GPU

@theoldsong
Copy link

我能够通过首先在 anaconda 中手动添加 pytorch 和 conda-forge 通道来构建环境。然后我使用更新了环境,

conda env update --prefix ~/.conda/envs/Barbershop --file environment/environment.yml --prune

According to your method, or report an error

ResolvePackageNotFound:

  • dbus=1.13.18
  • libxcb=1.14
  • readline=8.1
  • libidn2=2.3.2
  • libgcc-ng=9.1.0
  • gst-plugins-base=1.14.0
  • gstreamer=1.14.0
  • lame=3.100
  • gnutls=3.6.15
  • libgfortran-ng=7.3.0
  • ld_impl_linux-64=2.35.1
  • openh264=2.1.0
  • libtasn1=4.16.0
  • nettle=3.7.3
  • libunistring=0.9.10
  • ncurses=6.2
  • libuuid=1.0.3
  • gmp=6.2.1
  • libstdcxx-ng=9.1.0

@mariahlusneac
Copy link

If you need to deploy on windows, you need to do this: pyqt==5.9.2=py37h05f1152_2 pyqt==5.9.2 or pyqt=5.9.2 setuptools==52.0.0=py37h06a4308_0 setuptools==52.0.0 or setuptools=52.0.0 ......... The second equal sign is not needed

It worked for me. Thank you so much!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants