Closed arthuc01 closed 3 years ago
Can you report which version of openforcefield
you have installed? e.g.
(base) lski2414:~ choderaj$ conda list openforcefield
# packages in environment at /Users/choderaj/miniconda:
#
# Name Version Build Channel
openforcefield 0.5.1 py37_0 omnia
openforcefields 1.0.0rc1 py37_2 omnia
With openforcefield 0.5.1
, I cannot reproduce this---the import works fine:
>>> import openforcefield as off
>>> from openforcefield.topology import Topology
>>>
@arthuc01 I'm back in the office and can take a look into this. Are you still experiencing the problem? If so, could you paste the output of running conda list
?
Someone I'm working with just ran into a similar error message, and it turned out the problem was that they had an old version of the toolkit. Ensuring the toolkit version was up-to-date ( the conda-forge one) fixed the problem. Marking this as closed.
Using VitualBox version of LinuxMint (fresh install). Have installed Anaconda Python. Then followed install instructions .
This does not raise an error
import openforcefield as off
But...
from openforcefield.topology import Topology
gives the error... AttributeError: module 'openforcefield'has no attribute 'topology'ModuleNotFoundError: No module names 'openforcefield.test.utils'