Entering edit mode
8 months ago
Ashok
•
0
CPC2.py -i SRR27190625.fasta -o SRR27190625_cpc2_out.txt
I am facing problem while doing coding potential using cpc2. I don't why error is coming.
Traceback (most recent call last):
File "/opt/software/applications/CPC2-tool/bin/CPC2.py", line 6, in <module>
import commands
ModuleNotFoundError: No module named 'commands
your answers are welcome and useful to me ....
Looks like you are running code that was written for
python v.2.x
but you probably havepython v.3.x
or a newer version thanpython v.2.6
.You will need to use python v.2 older then 2.6. See: https://stackoverflow.com/questions/55913881/i-can-not-import-commands-in-my-project-now
Ashok, what is CPC2? Please edit your post and add as much context as you can.