The code i've been using for the last three months worked well until Monday, but now it appears this message:
python3 code.py
Traceback (most recent call last):
File "/home/mateoc/Documentos/practiques/tleap_propka/code.py", line 1, in
from simtk.openmm.app import
File "/home/mateoc/miniconda3/envs/openmm/lib/python3.10/site-packages/simtk/init.py", line 1, in
import openmm
File "/home/mateoc/Documentos/practiques/tleap_propka/openmm.py", line 1, in
from openmm.app import
ModuleNotFoundError: No module named 'openmm.app'; 'openmm' is not a package
the way I used to import this libraries is this one:
from openmm.app import
from openmm import
from simtk.unit import *
from openmm import app
The code i've been using for the last three months worked well until Monday, but now it appears this message: python3 code.py Traceback (most recent call last): File "/home/mateoc/Documentos/practiques/tleap_propka/code.py", line 1, in
from simtk.openmm.app import
File "/home/mateoc/miniconda3/envs/openmm/lib/python3.10/site-packages/simtk/init.py", line 1, in
import openmm
File "/home/mateoc/Documentos/practiques/tleap_propka/openmm.py", line 1, in
from openmm.app import
ModuleNotFoundError: No module named 'openmm.app'; 'openmm' is not a package
the way I used to import this libraries is this one: from openmm.app import from openmm import from simtk.unit import * from openmm import app