美文网首页
Conda安装软件报错:ModuleNotFoundError:

Conda安装软件报错:ModuleNotFoundError:

作者: zjl_8c97 | 来源:发表于2020-08-21 13:38 被阅读0次

一、问题:

使用conda安装deeptools:

conda install deeptools

结果报错:ModuleNotFoundError: No module named 'conda'
随后conda命令已经不能使用


image.png

二、原因:

在安装过程中改变了python的版本,如本来python2.7则变为了python3.6,致使原来依赖python2.7环境的conda无法使用

三、解决方案:

(1)使用conda search 命令查看deeptools依赖python2.7的版本

conda search deeptools
image.png
conda install deeptools=3.1.3=py27h470a237_0

安装成功

(2)新建conda环境deeptools

conda create -n deeptools
conda activate deeptools
conda install deeptools

相关文章

网友评论

      本文标题:Conda安装软件报错:ModuleNotFoundError:

      本文链接:https://www.haomeiwen.com/subject/bbeujktx.html