Question: Installing MultiQC on Ubuntu
gravatar for m93
20 months ago by
m93200 wrote:

I am trying to install MultiQC and I am having a lot of trouble. I am on a Ubuntu virtual machine and I have sudo rights. I followed the instructions from MultiQC for a manual instruction. I did the following:

git clone
cd MultiQC/
sudo python install

When I type multiqc --help, I get the following output, which I don't understand:

Traceback (most recent call last):
  File "/usr/local/bin/multiqc", line 4, in <module>
    import pkg_resources
 File "/usr/lib/python2.7/dist-packages/", line 2749, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/", line 444, in _build_master
  File "/usr/lib/python2.7/dist-packages/", line 725, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/", line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: backports.functools-lru-cache

I am quite confused as to what this means ( I don't use Python). Any help would be deeply appreciated.

fastqc multiqc ngs • 2.1k views
ADD COMMENTlink modified 4 months ago by Phil Ewels490 • written 20 months ago by m93200

Please use one of these options instead:

conda install -c bioconda multiqc
multiqc .


pip install multiqc    # Install
multiqc .
ADD REPLYlink written 20 months ago by genomax78k
gravatar for andrew.j.skelton73
20 months ago by
andrew.j.skelton735.9k wrote:
pip install multiqc --user 
~/.local/bin/multiqc ./my_qc_reports_dir/
ADD COMMENTlink written 20 months ago by andrew.j.skelton735.9k
gravatar for Phil Ewels
4 months ago by
Phil Ewels490
Sweden / Stockholm / SciLifeLab
Phil Ewels490 wrote:


Before we start - a quick note that using the system-wide installation of Python is not recommended. This often causes problems and it's a little risky to mess with it. If you find yourself prepending sudoto any MultiQC commands, take a step back and think about Python virtual environments / conda instead (see below).

As said by others - it's much safer and easier to install using Conda / Docker / etc.

ADD COMMENTlink written 4 months ago by Phil Ewels490
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1663 users visited in the last hour