Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with collections.py module #173

Open
almeida85 opened this issue Aug 6, 2021 · 0 comments
Open

Conflict with collections.py module #173

almeida85 opened this issue Aug 6, 2021 · 0 comments

Comments

@almeida85
Copy link

Hello,

When I run mdbenchmark generate -n benchmark_G4x --module gromacs/2020.1 --max-nodes 2 I get:

Traceback (most recent call last):
  File "/home/adi865j/.local/bin/mdbenchmark", line 5, in <module>
    from mdbenchmark import cli
  File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/__init__.py", line 20, in <module>
    from mdbenchmark.cli import cli
  File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/cli/__init__.py", line 20, in <module>
    from mdbenchmark.cli.commands import cli
  File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/cli/commands.py", line 23, in <module>
    from mdbenchmark.cli.validators import (
  File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/cli/validators.py", line 3, in <module>
    from mdbenchmark import console, utils
  File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/utils.py", line 27, in <module>
    import datreant as dtr
  File "/home/adi865j/.local/lib/python2.7/site-packages/datreant/__init__.py", line 16, in <module>
    from .treants import Treant
  File "/home/adi865j/.local/lib/python2.7/site-packages/datreant/treants.py", line 9, in <module>
    from .collections import Bundle
  File "/home/adi865j/.local/lib/python2.7/site-packages/datreant/collections.py", line 11, in <module>
    from mycollections import defaultdict
ImportError: cannot import name defaultdict

It seems that it as a conflict with the native collections.py module. I tried to change the name to mycollections.py, but it didn't work.

Your version of MDBenchmark:
MDBenchmark version 2.0.1

Any thoughts?

Thanks in advance
-Yasser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant