【问题标题】:Create Environment Python-3.5 Errors创建环境 Python-3.5 错误
【发布时间】:2018-07-02 10:02:01
【问题描述】:

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

% conda create -n py35 python=3.5 anaconda

但验证过程失败。我已经尝试了两次...验证列出了 702 错误如下...这是前三个(我已将“用户名”替换为我的用户名):

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.

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

【问题讨论】:

标签: python-3.x installation anaconda


【解决方案1】:

有同样的问题。并帮助解决了这个link。 conda clean --packages --tarballs

【讨论】:

    【解决方案2】:

    上一个答案的另一种选择:

    conda clean --all
    

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

    【讨论】:

      猜你喜欢
      • 2019-10-01
      • 2017-07-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-02-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多