python - CondaVerificationError : || ClobberError: Create a new conda environment with Python 2. 7.x 或 3.7.x

标签 python machine-learning anaconda miniconda graphlab

在使用 Python 2.7.x 或 3.7.x 创建新的 conda 环境时使用 conda create -n gl-env python=2.7 anaconda=4.0.0 我得到以下错误

准备交易:完成 验证交易:失败

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'

如何解决?

最佳答案

发生这种情况是因为它正在搜索不存在的错误文件。您只需编辑 bokeh-0.11.1-py27_0

包中的 files list 文件即可解决此问题
  1. 前往包裹位置。在这种情况下 C:\Users\kokul\Miniconda3\pkgs\bokeh-0.11.1-py27_0

  2. 打开目录info

    中的文件files
  3. 找到字符串 bokeh-script.py-server 并将其替换为 bokeh-server-script.py
  4. 保存并重试。

关于python - CondaVerificationError : || ClobberError: Create a new conda environment with Python 2. 7.x 或 3.7.x,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53048124/

相关文章:

python - 在 sqlalchemy 映射集合中使用值元组

python - 运行 Tf.Keras 模型时内存不足

python - 在 Windows 网络上安装 Python

python - Fortran 源代码但未找到 Fortran 编译器

python - Django 1.11 get() 缺少 1 个必需的位置参数 : 'pk'

python - 如何在 python 中更快地计算多个点组合之间的最小地理距离?

python 元组返回 datetime.datetime

r - 带有 R 包 nnet 的神经网络 : rubbish prediction due to overfitting?

machine-learning - 每个状态都是终端的强化学习

python - 如何在 Python 中进行 "IF"分析后对数据框进行排序