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

Error: No module named 'MDAnalysis.core.Selection' #87

Open
neginsafaei opened this issue Jul 21, 2022 · 4 comments
Open

Error: No module named 'MDAnalysis.core.Selection' #87

neginsafaei opened this issue Jul 21, 2022 · 4 comments

Comments

@neginsafaei
Copy link

Hello
I have installed Pycontact with the mentioned installation commands but I got the following error and I have Python 3 installed in my laptop also I can not find the zip file (pycontact-develop). I would be so thankful If you could help me.

pycontact
Traceback (most recent call last):
File "/home/safaei/anaconda3/bin/pycontact", line 5, in
from PyContact.pycontact import main
File "/home/safaei/anaconda3/lib/python3.8/site-packages/PyContact/pycontact.py", line 11, in
from .gui.MainWindow import MainWindow
File "/home/safaei/anaconda3/lib/python3.8/site-packages/PyContact/gui/MainWindow.py", line 18, in
from .SasaWidgets import SasaWidget
File "/home/safaei/anaconda3/lib/python3.8/site-packages/PyContact/gui/SasaWidgets.py", line 17, in
from .Dialogues import TopoTrajLoaderDialog
File "/home/safaei/anaconda3/lib/python3.8/site-packages/PyContact/gui/Dialogues.py", line 8, in
from PyContact.core.ContactAnalyzer import Analyzer
File "/home/safaei/anaconda3/lib/python3.8/site-packages/PyContact/core/ContactAnalyzer.py", line 20, in
from .aroundPatch import AroundSelection
File "/home/safaei/anaconda3/lib/python3.8/site-packages/PyContact/core/aroundPatch.py", line 7, in
from MDAnalysis.core.Selection import *
ModuleNotFoundError: No module named 'MDAnalysis.core.Selection'

Thanks a lot
Negin Safaee

@rjdespo
Copy link

rjdespo commented Aug 10, 2022

edit: following the fix here (#81) worked wonderfully. If you're looking for the development zip, go here: https://github.com/maxscheurer/pycontact

and make sure the drop down menu on the left hand side of your screen says develop. That way when you download the zip from the code dropdown, it's the correct one.

@maxscheurer
Copy link
Owner

Thanks @rjdespo for linking the related issue! I'm sorry the installation often causes this problem, which is due to the fact that I have not had the chance to thoroughly maintain this repo anymore..

@danko057
Copy link

danko057 commented May 9, 2023

Using the development zip doesn't fix the problem. I still receive the same error. Is there any other way around to fix this?
Thanks

@maxscheurer
Copy link
Owner

maxscheurer commented May 9, 2023

If you get the exact same error, you're still using an older version of PyContact. The culprit file has been removed more than two years ago 😄 Probably your environment still has an old version around and the re-install didn't update that one? (Explained also in #81.)

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

4 participants