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
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
Go to package location. In this case C:\\Users\\kokul\\Miniconda3\\pkgs\\bokeh-0.11.1-py27_0
Open the file files
in directory info
bokeh-script.py-server
and replace it by 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
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.