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

importError #1

Open
ywang910516 opened this issue Jan 27, 2022 · 7 comments
Open

importError #1

ywang910516 opened this issue Jan 27, 2022 · 7 comments

Comments

@ywang910516
Copy link

Hi nzahasan,

I installed pyheclib successfully but when I import it, I got the following error message:
++++++++++++++++++++++++++
import pyheclib as phl
Traceback (most recent call last):
File "", line 1, in
ImportError: /data/miniconda3/envs/nos-s100/lib/python3.7/site-packages/pyheclib.cpython-37m-x86_64-linux-gnu.so: undefined symbol: inflateEnd
++++++++++++++++++++++++++
Do you have any suggestions about how to fix it? Thank you!

@nzahasan
Copy link
Owner

@ywang910516 need a little more information for example your os.

@ywang910516
Copy link
Author

ywang910516 commented Jan 27, 2022

Thanks for your quick reply. I am using Python 3.7.3 on an AWS Linux instance.

@nzahasan
Copy link
Owner

nzahasan commented Jan 27, 2022

@ywang910516 seems like a zlib issue, I have only tested this on ubuntu. can you install for the python your distribution provided & check.

@ywang910516
Copy link
Author

I just installed zlib by this command: "sudo apt-get install zlib1g-dev"
but when got the same error when I import pyheclib...

@nzahasan
Copy link
Owner

@ywang910516 can you try without anaconda.

@ywang910516
Copy link
Author

It seems all my python (python3.7 and python3.9) are installed under miniconda3. I have some environments and python scripts running operationally... I don't want to mess up them. Could you please explain a little bit about how to try without anaconda? I am usually confused about the relationship between anaconda, miniconda, and python itself...

@nzahasan
Copy link
Owner

nzahasan commented Feb 5, 2022

From my side this issue is not reproducible, can you try on another small vm with ubuntu 20.04. It should come with python3.8.

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