LLNL / MemSurfer

MemSurfer is a software tool to compute bilayer membrane surfaces.
GNU General Public License v3.0
24 stars 9 forks source link

import error #23

Open yang-guoli opened 2 years ago

yang-guoli commented 2 years ago

hi, i had install MemSurfer in the centsos system=8.0 , but when i tried to import the package that occur the follow error: image can you help me to solve this problem?

GeorgeZhengz commented 2 years ago

I have encountered the same problem as you. Have you solved it?

bhatiaharsh commented 2 years ago

I am a bit confused here. It looks like you are trying to import memsurfer directly from its source directory. Is that correct?

Have you followed the installation step (... python setup.py install)? When this command finishes, it will give you the path where memsurfer is installed. you need to come out of the source directory and then try to import it.

when memsurfer is build, a file _memsurfer_cmod is created. but this file is installed in the install prefix. But when you attempt to import memsurfer from the same (source) directory, python picks the package from right there (rather than the install prefix), and therefore cannot find this path.