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

pip install qgrid Broken. #77

Closed
alphaBenj opened this issue Jun 3, 2016 · 7 comments
Closed

pip install qgrid Broken. #77

alphaBenj opened this issue Jun 3, 2016 · 7 comments

Comments

@alphaBenj
Copy link

Collecting qgrid
Downloading qgrid-0.3.1.tar.gz (71kB)
100% |████████████████████████████████| 81kB 300kB/s
Requirement already up-to-date: notebook==4.1.0 in /usr/lib/python2.7/site-packages (from qgrid)
Collecting pandas==0.17.1 (from qgrid)
Downloading pandas-0.17.1.zip (7.7MB)
17% |█████▌ | 1.3MB 97kB/s eta 0:01:06^Z
[1]+ Stopped pip install --upgrade qgrid

I have pandas 18.1 installed qgrid is downgrading pandas... please fix.

pip list
pandas (0.18.1)

@TimShawver
Copy link
Contributor

Sorry about this. I'll update the release on pypi next week (need help from a coworker because I don't have access). In the meantime you should just install from github instead with pip install git+https://github.com/quantopian/qgrid

@alphaBenj
Copy link
Author

I tried today its badly broken nothing worked, but again I didnt use in the past.

@TimShawver
Copy link
Contributor

Hmmm works fine for me. I might be able to help if you give me more information about what errors you're seeing.

The main thing that's been tripping people up lately is that it's not compatible with the latest version of jupyter notebook and ipywidgets, which I'm currently working on fixing. As a temporary fix I've updated the requirements.txt file such that if you install with pip install git+https://github.com/quantopian/qgrid you'll get the older, compatible versions of those two packages.

@alphaBenj
Copy link
Author

I see no errors. nothing happens..Hard to debug even that happens

On Sat, Jun 4, 2016 at 2:52 PM, Tim Shawver notifications@github.com
wrote:

Hmmm works fine for me. I might be able to help if you give me more
information about what errors you're seeing.

The main thing that's been tripping people up lately is that it's not
compatible with the latest version of jupyter notebook and ipywidgets,
which I'm currently working on fixing. As a temporary fix I've updated the
requirements.txt file such that if you install with pip install git+
https://github.com/quantopian/qgrid you'll get the older, compatible
versions of those two packages.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#77 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ANV0nqsOXKJ2xyL9nJps25Khnqdm7YQ4ks5qIcmDgaJpZM4ItzGS
.

@TimShawver
Copy link
Contributor

TimShawver commented Jun 6, 2016

Any errors in the terminal where you're running jupyter notebook? Any javascript errors in your web browser? You'll need to open the development tools for whatever browser you're using, go to the "console" tab, and rerun the qgrid.show_grid cell of the notebook to see javascript errors.

If you're using version 4.2.x of jupyter notebook or version 5.x of ipywidgets, you'll need to reinstall qgrid to get the fix that I just merged to master. You can do that with pip uninstall qgrid and pip install git+https://github.com/quantopian/qgrid.

If you don't know what versions of these packages you have installed, then run pip freeze. If you could send me the result of running that command, that would be helpful.

@TimShawver
Copy link
Contributor

Closing because I don't have enough information to investigate this further, and I haven't heard back in a couple of weeks.

@alphaBenj
Copy link
Author

Hi :

I can't get multi-col sort to work Using qgrid version: (0.2.0).
All sort functions stop.
Use case sort col "D", then sort col E.
editable also fails.

code below:

qgrid.set_defaults(remote_js=None, precision=None, grid_options={
'forceFitColumns': True,'rowHeight': 26, 'enableColumnReorder': True,
'multiColumnSort': True,'defaultColumnWidth': 70, 'editable': True})

df3 = pd.DataFrame({
'A' : 1.,
'B' : pd.Timestamp('20130102'),
'C' : pd.Series(randn(8),index=list(range(8)),dtype='float32'),
'D' : np.array([3,2] * 4,dtype='int32'),
'E' : pd.Categorical(["washington", "adams", "madison",
"lincoln","jefferson", "hamilton", "roosevelt", "kennedy"]),
'F' : 'foo' })
df3

qgrid.show_grid(df3)

On Sat, Jun 4, 2016 at 6:13 PM, Asher Benjamin asherbenj@gmail.com wrote:

I see no errors. nothing happens..Hard to debug even that happens

On Sat, Jun 4, 2016 at 2:52 PM, Tim Shawver notifications@github.com
wrote:

Hmmm works fine for me. I might be able to help if you give me more
information about what errors you're seeing.

The main thing that's been tripping people up lately is that it's not
compatible with the latest version of jupyter notebook and ipywidgets,
which I'm currently working on fixing. As a temporary fix I've updated the
requirements.txt file such that if you install with pip install git+
https://github.com/quantopian/qgrid you'll get the older, compatible
versions of those two packages.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#77 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ANV0nqsOXKJ2xyL9nJps25Khnqdm7YQ4ks5qIcmDgaJpZM4ItzGS
.

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