0

I'm trying to create a conda environment using a yml file.

I run the command conda env create --name env_x -f environment.yml But it gives the following error

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

ResolvePackageNotFound:
  - readline==8.0=h7b6447c_0
  - psutil==5.7.0=py38h7b6447c_0
  - zlib==1.2.11=h7b6447c_3
  - tensorflow==2.2.0=gpu_py38hb782248_0
  - sambamba==0.6.6=2
  - pandas==1.0.5=py38h0573a6f_0
  - mkl_fft==1.1.0=py38h23d657b_0
  - libedit==3.1.20191231=h14c3975_1
  - rtree==0.9.4=py38_1
  - mpc==1.1.0=h10f8cd9_1

How can I resolve this issue and successfully create my conda environment? I used both git bash and windows 10 cmd.

heyula
  • 113
  • 5
  • Does this answer your question? [How to fix \`ResolvePackageNotFound\` error when creating Conda environment?](https://stackoverflow.com/questions/58219956/how-to-fix-resolvepackagenotfound-error-when-creating-conda-environment) – braebdeb Feb 21 '23 at 21:13
  • You are trying to install a YAML from **linux-64** onto a **win-64** system. Please consult the duplicate. Basically, you need to clean up the YAML to no longer have build strings. – merv Feb 21 '23 at 22:05
  • @braebdeb, I tried the solution in that question but I still get the same output – heyula Feb 22 '23 at 20:26

0 Answers0