How can I solve the following error? No module named commons.core.LoggerFactory
0
0
Entering edit mode
3.1 years ago
pavelasquezv ▴ 50

Hi all,

I am running a program from the REPET program

TEdenovo.py -P DmelChr4 -C TEdenovo.cfg -S 1

and I get the following error:

File "/media/hd2/pedrovasconez/TEtranscripts/REPET_linux-x64-3.0/bin/TEdenovo.py", line 53, in <module> from commons.core.LoggerFactory import LoggerFactory ImportError: No module named commons.core.LoggerFactory

Please, it would be highly appreciated if someone could help me to resolve this error.

Thanks a lot

Alex

python • 1.6k views
ADD COMMENT
2
Entering edit mode

The python modules are located in REPET_linux-x64-3.0/commons folder, include the installation directory in PYTHONPATH . The best solution will be to create a virtual environment.

export PYTHONPATH="$PYTHONPATH:<path to the tool>/REPET_linux-x64-3.0"
ADD REPLY
0
Entering edit mode

Thanks for your reply my friend. I ran the following command but the same error still persists.

export PYTHONPATH=$PYTHONPATH:/media/hd2/pedrovasconez/TEtranscripts/REPET_linux-x64-3.0

TEdenovo.py: command not found.

Many thanks for your time

All the best

ADD REPLY
1
Entering edit mode

Hard to tell, best guess would be to install that module. Is this a published script you use? If so, does it contain a manual with dependencies to install first? Please give a link to the tool/script.

ADD REPLY
0
Entering edit mode

Hi, many thanks for your reply. This is a tutorial on the REPET program.

https://urgi.versailles.inra.fr/Tools/REPET/TEdenovo-tuto

It is a program for the annotation of transposition elements. Please, I would be very happy if you told me how to install the dependencies of this program if they exist. I am new to bioinformatics.

Thanks a lot again,

Alex

ADD REPLY
1
Entering edit mode

Here is an INSTALL section, try to go through it, if you need help please say where exactly: https://urgi.versailles.inra.fr/Tools/REPET/INSTALL

ADD REPLY
0
Entering edit mode

Thank you for your cooperation. I am currently unable to download the Repbase database. https://www.girinst.org/server/RepBase/index.php Please, if you have any suggestions, I would appreciate it if you would let me know.

ADD REPLY

Login before adding your answer.

Traffic: 2020 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