MDAnalysis / membrane-curvature

MDAnalysis tool to calculate membrane curvature.
https://membrane-curvature.readthedocs.io/
GNU General Public License v3.0
29 stars 6 forks source link

No module named 'membrane_curvature.base #127

Open neubergmi opened 3 months ago

neubergmi commented 3 months ago

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 commented 3 months ago

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

neubergmi commented 3 months ago

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