我正在尝试使用以下代码从bioda安装multiqc。
conda install -c bioconda multiqc
当我检查它是否已安装时,我会得到以下错误。
(rnaseq) td@econ ~ % multiqc
Traceback (most recent call last):
File "/Users/tahadinc/opt/anaconda3/envs/rnaseq/bin/multiqc", line 4, in <module>
__import__('pkg_resources').run_script('multiqc==1.0.dev0', 'multiqc')
File "/Users/tahadinc/opt/anaconda3/envs/rnaseq/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3242, in <module>
@_call_aside
File "/Users/tahadinc/opt/anaconda3/envs/rnaseq/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
f(*args, **kwargs)
File "/Users/tahadinc/opt/anaconda3/envs/rnaseq/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/Users/tahadinc/opt/anaconda3/envs/rnaseq/lib/python3.6/site-packages/pkg_resources/__init__.py", line 568, in _build_master
ws.require(__requires__)
File "/Users/tahadinc/opt/anaconda3/envs/rnaseq/lib/python3.6/site-packages/pkg_resources/__init__.py", line 886, in require
needed = self.resolve(parse_requirements(requirements))
File "/Users/tahadinc/opt/anaconda3/envs/rnaseq/lib/python3.6/site-packages/pkg_resources/__init__.py", line 772, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'importlib-metadata' distribution was not found and is required by click```
I tried to find a solution online, but I couldn't.
I would appreciate any help.
Thank you
您是否尝试过专门为multiqc创建一个新环境?
conda create --name multiqc -c bioconda multiqc
conda activate multiqc
importlib元数据和rnaseq环境中的另一个包可能存在冲突。