[英]CondaVerificationError: || ClobberError: Create a new conda environment with Python 2.7.x or 3.7.x
While Creating a new conda environment with Python 2.7.x or 3.7.x using conda create -n gl-env python=2.7 anaconda=4.0.0
I get the following errors使用 conda conda create -n gl-env python=2.7 anaconda=4.0.0
使用 Python 2.7.x 或 3.7.x 创建新的 conda 环境时,出现以下错误
Preparing transaction: done Verifying transaction: failed准备交易:完成验证交易:失败
CondaVerificationError: The package for bokeh located at C:\Users\kokul\Miniconda3\pkgs\bokeh-0.11.1-py27_0
appears to be corrupted. The path 'Scripts/bokeh-script.py-server'
specified in the package manifest cannot be found.
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::notebook-4.1.0-py27_2, defaults::qtconsole-4.2.0-py27_1
path: 'menu/jupyter.ico'
How to solve it?如何解决?
This happens because it is searching for a wrong file that doesn't exist.发生这种情况是因为它正在搜索不存在的错误文件。 You can simply fix this by editing the files
manifest file in package bokeh-0.11.1-py27_0
您可以通过编辑包bokeh-0.11.1-py27_0
的files
清单文件来简单地解决此bokeh-0.11.1-py27_0
Go to package location.前往包裹位置。 In this case C:\\Users\\kokul\\Miniconda3\\pkgs\\bokeh-0.11.1-py27_0
在这种情况下C:\\Users\\kokul\\Miniconda3\\pkgs\\bokeh-0.11.1-py27_0
Open the file files
in directory info
打开目录info
的文件files
bokeh-script.py-server
and replace it by bokeh-server-script.py
查找字符串bokeh-script.py-server
并将其替换为bokeh-server-script.py
This may be due to a failed or incomplete package install.这可能是由于软件包安装失败或不完整。 I Fixed the problem by first.我首先解决了这个问题。
conda clean --all
Respond with Y
回复Y
I don't know how to solve without undo and redo.我不知道如何在没有撤消和重做的情况下解决。 I undo the action by我撤消了操作
conda clean --packages --tarballs
and then redo by然后重做
conda create -n gl-env python=2.7 anaconda=4.0.0
Alternate option替代选项
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.