You’re making this easy for me with the questions at the end!
Yes
Possibly
Very likely
There’s definitely something weird going on with your installation, I can think of no reason why you’d have asset files within your /tmp directory. And using sudo is generally a big no-no.
While you’re at it, I’d recommend upgrading to the latest version, version 1.18 is 2.5 years old now.
Thank you very much for your clarification and for pointing out the installation issue. I really appreciate your help.
I have one additional question. When I tried to install MultiQC using pip install multiqc, I received the following error:
error: externally-managed-environment This environment is externally managed.
It suggests that the Python installation is managed by the system (Debian/Ubuntu) and recommends using apt, a virtual environment, or --break-system-packages.
Could you please clarify why this happens when using pip?
Is this related to PEP 668 restrictions in newer Ubuntu/Debian versions?
There are many answers to this question. As you said, trying to install with your system Python is almost always problematic and you should definitely not do that.
I would instead try to use any of the following options:
Docker / Singularity (if running within a pipeline)