ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 问题解决办法

在下载numpy的时候报出如下错误。

ERROR conda.core.link:_execute_actions(337): An error occurred while installing
package 'defaults::tqdm-4.46.0-py_0'.
CondaError: Cannot link a source that does not exist. D:\anaconda\Scripts\conda.
exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.


CondaError: Cannot link a source that does not exist. D:\anaconda\Scripts\conda.
exe
Running `conda clean --packages` may resolve your problem.

按照报错指示初夏,用命令  conda clean --packages。这个命令是删除不用的安装包,以防不用的安装包和安装numpy产生冲突。但还是没有解决问题。

如上报错也显示了出现错误也是tqdm包而产生的错误。

解决办法:

conda install tqdm -f

网上还说有种可能是pip的版本太低了,也可以选择更新pip的版本试试。

conda install pip 

你可能感兴趣的:(anaconda,python,numpy)