I installed multiqc. But whenever I try to run it this happens.

Please help....

(rna-seq) [email protected]:~/Share/week4$ multiqc -h
Traceback (most recent call last):
  File "/home/sabbir/miniconda3/envs/rna-seq/bin/multiqc", line 6, in <module>
    from multiqc.__main__ import multiqc
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/multiqc/__init__.py", line 16, in <module>
    from .multiqc import run
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/multiqc/multiqc.py", line 39, in <module>
    from .plots import table
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/multiqc/plots/table.py", line 9, in <module>
    from multiqc.utils import config, report, util_functions, mqc_colour
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/multiqc/utils/mqc_colour.py", line 7, in <module>
    import spectra
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/spectra/__init__.py", line 1, in <module>
    from .core import COLOR_SPACES, Color, Scale
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/spectra/core.py", line 1, in <module>
    from colormath import color_objects, color_conversions
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/colormath/color_conversions.py", line 13, in <module>
    import networkx
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/networkx/__init__.py", line 114, in <module>
    import networkx.generators
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/networkx/generators/__init__.py", line 14, in <module>
    from networkx.generators.intersection import *
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/networkx/generators/intersection.py", line 13, in <module>
    from networkx.algorithms import bipartite
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/networkx/algorithms/__init__.py", line 16, in <module>
    from networkx.algorithms.dag import *
  File "/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/site-packages/networkx/algorithms/dag.py", line 23, in <module>
    from fractions import gcd
ImportError: cannot import name 'gcd' from 'fractions' (/home/sabbir/miniconda3/envs/rna-seq/lib/python3.9/fractions.py)



Source link