Search code examples
pythonmachine-learninganacondaminicondagraphlab

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

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?


Solution

  • 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

    1. Go to package location. In this case C:\Users\kokul\Miniconda3\pkgs\bokeh-0.11.1-py27_0

    2. Open the file files in directory info

    3. Find string bokeh-script.py-server and replace it by bokeh-server-script.py
    4. Save and try again.