problem installing cutadapt
0
1
Entering edit mode
4.8 years ago
Javad ▴ 150

Dear all,

I have difficulty installing cutadapt on my system. After installing cutadapt with pip3 install --user --upgrade cutadapt and running cutadapt --version, I get the following error that don't know how to address it.

Traceback (most recent call last):
  File "./cutadapt", line 5, in <module>
    from cutadapt.__main__ import main
ModuleNotFoundError: No module named 'cutadapt.__main__'

Installing with conda leads to the same type of error. Any idea is highly appreciated.

Thanks in advance.

RNA-Seq • 2.1k views
ADD COMMENT
0
Entering edit mode

Output of python --version?

ADD REPLY
0
Entering edit mode

Hi.

Python 3.7.4
ADD REPLY
0
Entering edit mode

Hmm, if you install with a package manager you should not need to use ./ at all. Can you simply type cutadapt and which cutadapt?

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode

Hi, As I said above, conda doesn't help. It leads to the same error.

ADD REPLY
0
Entering edit mode

sorry, did not read, but that is very wierd. Did you use a new conda environment? did you activate the new environment? look at $PATH, $PYTHONPATH , which cutadapt if there are discrepancies that would explain the problem. i.e. which version does get picked up

ADD REPLY
0
Entering edit mode

You should initiate a new virtual environment in python, activate it and install with pip

ADD REPLY

Login before adding your answer.

Traffic: 1987 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6