创建环境Python-3.5错误

jrd*_*son 6 install python-3.x anaconda

我刚刚在Windows 10中安装了Anaconda(安装了Python 3.6)...并且运行良好。然后,我尝试创建一个Python 3.5环境:

%conda创建-n py35 python = 3.5 anaconda

但是该过程无法通过验证。我已经尝试了两次...并且验证列出了702个错误,如下所示...这是前三名(我用“ UserName”代替了我的用户名):

CondaVerificationError:pyqt的软件包位于C:\ Users \

<UserName>\AppData\Local\Continuum\anaconda3\pkgs\pyqt-5.6.0-py35hd46907b_5
appears to be corrupted. The path 'Lib/site-packages/PyQt5/Enginio.pyd'
specified in the package manifest cannot be found.

CondaVerificationError: The package for pyqt located at C:\Users\<UserName>\AppData\Local\Continuum\anaconda3\pkgs\pyqt-5.6.0-py35hd46907b_5
appears to be corrupted. The path 'Lib/site-packages/PyQt5/Enginio.pyi'
specified in the package manifest cannot be found.

CondaVerificationError: The package for pyqt located at C:\Users\<UserName>\AppData\Local\Continuum\anaconda3\pkgs\pyqt-5.6.0-py35hd46907b_5
appears to be corrupted. The path 'Lib/site-packages/PyQt5/QAxContainer.pyd'
specified in the package manifest cannot be found.
Run Code Online (Sandbox Code Playgroud)

这应该很简单:在Windows 10中安装环境...但是失败了...我错过了一个步骤吗?路径变量未设置?

小智 13

只是之前答案的另一种选择:

conda clean --all
Run Code Online (Sandbox Code Playgroud)

这将删除索引缓存、锁定文件、未使用的缓存包和 tarball。


小智 9

有同样的问题。并且帮助了这个链接conda clean --packages --tarballs