Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
ImportError with pandas 0.20.0 and 0.20.1 #16288
Comments
|
@jorisvandenbossche did you see something like this earlier? |
|
Not exactly this error, but possibly related. For me the error with clipboard was something with |
|
@FragLegs Is this in a clean (newly made) env? Or if not, can you see if you can reproduce it then as well? |
jreback
added Bug Data IO
labels
May 9, 2017
jreback
added this to the
0.20.2
milestone
May 9, 2017
jreback
added a commit
to jreback/pandas
that referenced
this issue
May 9, 2017
|
|
jreback |
627095a
|
jreback
referenced
this issue
May 9, 2017
Merged
BUG: don't force clipboard routines to be imported in main pandas #16294
|
yeah this tries to import the clipboard things at import time, not usage time. You can mitigate atm by installing xclip. |
|
@jorisvandenbossche This was in a clean env (which starts with pip and wheel, I think, but that's it). I'll try preinstalling xclip and let you know if that helps. |
jreback
added a commit
to jreback/pandas
that referenced
this issue
May 9, 2017
|
|
jreback |
38a235a
|
jreback
closed this
in #16294
May 9, 2017
jreback
added a commit
that referenced
this issue
May 9, 2017
|
|
jreback |
1e59b4c
|
anntzer
commented
May 9, 2017
|
Note that always importing PyQt4.QtCore will also lead to a RuntimeError when PyQt5 is already imported. See e.g. https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/qt_compat.py#L37 where matplotlib first checks whether one of them has already been imported in which case it is used. |
|
@FragLegs Out of curiosity, can you check whether you have a PyQt4 directory in the site-packages of the env? |
|
@jorisvandenbossche Shoot, I totally forgot that I had added a symlink to fwiw - installing xclip does not solve the import problem for me. @jreback Thanks for getting the fix merged so quickly! I can confirm that your commit works perfectly on my machine. |
pawroman
added a commit
to pawroman/pandas
that referenced
this issue
May 9, 2017
|
|
jreback + pawroman |
49fcab8
|
This was referenced May 10, 2017
pcluo
added a commit
to pcluo/pandas
that referenced
this issue
May 22, 2017
|
|
jreback + pcluo |
38f66d1
|
TomAugspurger
added a commit
to TomAugspurger/pandas
that referenced
this issue
May 29, 2017
|
|
jreback + TomAugspurger |
c7e3d61
|
TomAugspurger
added a commit
that referenced
this issue
May 30, 2017
|
|
jreback + TomAugspurger |
638f8b0
|
jorisvandenbossche
referenced
this issue
Jun 8, 2017
Closed
Import pandas with graphics disabled #16628
stangirala
added a commit
to stangirala/pandas
that referenced
this issue
Jun 11, 2017
|
|
jreback + stangirala |
54929c8
|
FragLegs commentedMay 8, 2017
Code Sample, a copy-pastable example if possible
With versions 0.20.0 and 0.20.1, I get the following error:
import pandasThis does not occur with 0.19.2
Here are the other packages installed in my virtualenv
Problem description
It would be nice if pandas was pip installable. As it stands, the new versions are not (for me).
Expected Output
No error when importing pandas.
Output of
pd.show_versions()I can't get that info without being able to import pandas.