Open Lrolmar opened 5 years ago
Seems like you are initializing Chimera twice. I think that multisite.py
handled initialization on its own (look at the top of file for pychimera
imports), so there's no need to execute it with pychimera
again. That way, we can later use multiprocessing
in a simpler way.
So, if my guess is correct, just use python multisite.py
.
Then the following error appears:
ImportError: No module named gaudi.box
File "/home/lroldan/Master/Metals_bA/Scripts/multisite.py", line 57, in
from gaudi.box import open_models_and_close
See reply log for Python traceback.
Can you execute that same line (57) on its own, in an interactive pychimera
session?
$ conda activate insilichem
$ pychimera
>>> from gaudi.box import open_models_and_close
Also, please use Markdown formatting to, at least, enclose code blocks in triple back-ticks.
I run this script in the conda environment Insilichem (where gaudi runs normally).
The following error pops-up:
See reply log for Python traceback.
Then, if the line "pychimera.enable_chimera()" is commented out in the script, the following error appears: