-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
error importing Pandas in python-3.4 unix environment - undefined symbol: pyobject_cmp #10608
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
Comments
pls show your os / version. |
Using Red Hat Enterprise Linux Server release 6.6 |
if you are using the system level python (and maybe numpy), then pip install may not always work. Generally recommend to look at Anaconda/miniconda to prevent issues like this. |
I see. I hadn't had a problem at all before using virtualenv and the pip that comes with that. Using Anaconda/miniconda is a bit of a challenge on my work's computing server where I am not a root user. |
conda does NOT require you be root, that's part of the point. |
So is pip no longer supported for Pandas? I can switch to conda if necessary. |
of course pip is supported. I suspect you have something wonky going on in your 3.4 build. (the python and/or numpy) |
I just hit this on Gentoo w/ python 3.5.1. I'm using the system python, but I don't have system versions of numpy or pandas. Instead, I had pandas installed in a virtualenv, along with a considerable number of other packages. I noticed the problem when re-running a jupyter notebook crashed on the pandas import. So, I killed the pip cache directory, created a clean virtualenv, and updated pip & wheel, and installed cython, numpy, python-dateutil, pytz, and pandas. No joy:
I've also tried building pandas from source, also to no avail. I'm not necessarily opposed to using miniconda (that's what I'm doing now, so I can get some actual work done), but I've been using pandas within a virtualenv for quite some time now, and I'm used to it. I'd love to have a better idea of what is going wrong so that I can try to fix it. Regards, and thanks for an awesome, awesome package. |
looks like a pathing issue. |
Well, darn. The thought that it might be a pathing problem was really exciting. I did, in fact, have some junk in my PYTHONPATH that didn't need to be there. Getting rid of it didn't solve the problem, though.
That certainly looks reasonable. Shrug My user account is pretty crufty, though, so I created a new user with an unsullied account, and created a new virtualenv to see what would happen. I still get the undefined symbol error for pyobject_cmp. So, whatever is going on, I think it's not a simple pathing issue. (It might be a complicated one, however.) I have to get some real work done, but I'll try looking at this some more later in the week. Thanks! |
Same problem here. I've tried to install pandas using |
I found that my problem was related to clang compiler flags. So I also can confirm that fix from #10510 is not enough because I reproduced the same problem on Linux. |
can u build master - #12123 seems to fix for the FreeBSD guys |
I've tested b26fac8 and it works! |
I got an error message on ipython I clone pandas from github, build it and install it by pip |
I was using Pandas version 0.16.1 on a Red Hat Enterprise Linux Server release 6.6 system and it was working fine but I wanted to update Pandas to version 0.16.2 so I uninstalled it and reinstalled it using
The installation seemed to work fine. However, when I attempt to import pandas
I get the error:
However:
doesn't work either as there is no setup.py to be found. The error is:
I also tried to install Pandas by downloading the source and then:
This time the second command generated a lot of output and successfully completed. However, I still get the same error when I try to import pandas
The text was updated successfully, but these errors were encountered: