conda install -c conda-forge tensorflow just stuck in Solving environment

妖精的绣舞 提交于 2021-01-03 08:31:25

问题


I am trying to run this statement in MacOS.

conda install -c conda-forge tensorflow

It just stuck at the

Solving Environment: 

Never finish.

$ conda --version
conda 4.5.12

回答1:


On win10 I waited about 5-6 minutes but it depends of the number of installed python packages and your internet connection. Also you can install it via Anaconda Navigator




回答2:


Nothing worked untill i ran this in conda terminal:

conda upgrade conda

Note that this was for poppler (conda install -c conda-forge poppler)




回答3:


Follow the instruction by nekomatic.

I left it running for 1 hour. Yes. it is finally finished.

But now I got the conflicts

Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - anaconda==2018.12=py37_0 -> bleach==3.0.2=py37_0
  - anaconda==2018.12=py37_0 -> html5lib==1.0.1=py37_0
  - anaconda==2018.12=py37_0 -> numexpr==2.6.8=py37h7413580_0
  - anaconda==2018.12=py37_0 -> scikit-learn==0.20.1=py37h27c97d8_0
  - tensorflow
 Use "conda info <package>" to see the dependencies for each package.



回答4:


The same error happens with me .I've tried to install tensorboard with anaconda prompt but it was stuck on the environment solving .So i've added these paths to my environment variables:

C:\Anaconda3 

C:\Anaconda3\Library\mingw-w64\bin

C:\Anaconda3\Library\usr\bin

C:\Anaconda3\Library\bin

C:\Anaconda3\Scripts

and it worked well.



来源:https://stackoverflow.com/questions/54271094/conda-install-c-conda-forge-tensorflow-just-stuck-in-solving-environment

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!