Dear users and developers:
I just installed a local HADDOCK2.4, however, when I run protein-protein docking in the examples directory, there is an error showing:
Exception occurred while importing Python modules:
------------------------------------------------------------
Traceback (most recent call last):
File "/public/home/wanglin3/software/HADDOCK/haddock2.4-2020-09/Haddock/RunHaddock.py", line 33, in <module>
from Haddock.Analysis import CnsAnalysis, ProjectStatus
ImportError: No module named Haddock.Analysis
My command is just haddock2.4
My python version is 2.7.5
Here are my results for echo $PYTHONPATH:
Hi! Make sure $HADDOCK points to the root directory, in your case looks like it is /public/home/wanglin3/software/HADDOCK/haddock2.4-2020-09, then inspect how your haddock_configure.sh looks like and source it before running.
Thanks for your reply. I followed your suggestion, but it seems that it doesn’t work. I run ‘haddock2.4’ command again, and it shows
------------------------------------------------------------
Traceback (most recent call last):
File “/public/home/wanglin3/software/HADDOCK/haddock2.4-2020-09/Haddock/RunHaddock.py”, line 33, in
from Haddock.Analysis import CnsAnalysis, ProjectStatus
File “/public/home/wanglin3/software/HADDOCK/haddock2.4-2020-09/Haddock/Analysis/CnsAnalysis.py”, line 12, in
from Haddock.Main.QueueSubmit import QueueSubmit, QueueFlush
ImportError: No module named QueueSubmit
------------------------------------------------------------
I already change my haddock_configure.sh to be like
HADDOCK="/public/home/wanglin3/software/HADDOCK/haddock2.4-2020-09"
HADDOCKTOOLS="HADDOCK/haddock-tools"
PYTHONPATH="{PYTHONPATH}:HADDOCK"
alias haddock2.4="(which python) $HADDOCK/Haddock/RunHaddock.py"
Could you please help me check where the problem is?
Thanks a lot! I have solved the problem by the guidance of tutorial. I had setup HADDOCK in my computer but I forgot to run install.csh again when I unloaded it to cluster.Thank you!