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

import error #23

Open
yang-guoli opened this issue May 20, 2022 · 2 comments
Open

import error #23

yang-guoli opened this issue May 20, 2022 · 2 comments

Comments

@yang-guoli
Copy link

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
Copy link

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

@bhatiaharsh
Copy link
Contributor

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.

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

No branches or pull requests

3 participants