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

No module named 'membrane_curvature.base #127

Open
neubergmi opened this issue Mar 21, 2024 · 2 comments
Open

No module named 'membrane_curvature.base #127

neubergmi opened this issue Mar 21, 2024 · 2 comments

Comments

@neubergmi
Copy link

Hi everyone,
I'm trying to run membrane-curvature using the example script and getting following error:

ModuleNotFoundError: No module named 'membrane_curvature.base'; 'membrane_curvature' is not a package

Any ideas how to solve that? The tool was previously installed using pip, without any errors.
Thanks for your help.

@hmacdope
Copy link
Member

Have you installed membrane curvature? What happens when you do python -c 'import membrane_curvature'

@neubergmi
Copy link
Author

Thanks for your reply.

Yes, I've double check membrane_curvature is installed. When re-typing pip install membrane_curvature I get all 'requirement already satisfied'.

When I type python3 -c 'import membrane_curvature' I get

(membrane-curvature) [pleskot@ngs membrane_curvature]$ python3 -c 'import membrane_curvature'
MDAnalysis  : INFO     MDAnalysis 2.7.0 STARTED logging to 'MDAnalysis.log'
MDAnalysis  : INFO     MDAnalysis 2.7.0 STARTED logging to 'MDAnalysis.log'
MDAnalysis  : INFO     MDAnalysis 2.7.0 STARTED logging to 'MDAnalysis.log'

However this is not the case when having from membrane_curvature.base import MembraneCurvature inside of the .py script

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

2 participants