-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 does not know of required pyzmq #3579
Comments
This is a fiddly one. The notebook can run fine on older versions of pyzmq, but in that case you need an older version of tornado as well. Tornado 5 is not compatible with pyzmq < 17, but neither of those packages depend on the other. |
In that case, this is a bug in Tornado? |
It's definitely not a bug in tornado. I'm coming round to the idea that we should do something about this, though, because I think one of the changes in pip 10 makes it more likely that people will hit it. Specifically, @minrk would you be OK with notebook 5.5 requiring pyzmq >= 17? I know that it doesn't really, but it makes it less likely that people will hit this? |
I'm not a big fan, but I think it's an okay solution if this is going to keep coming up. |
Not really a requirement, but explaining about the pyzmq/tornado incompatibility gets old fast. Closes jupytergh-3579
OK, #3586 does that. |
Just a final note, in case it is relevant. I see now that when installing notebook with a clean account, it just works because tornado does not get updated. My tornado must have gotten updated with older pip versions that were updating all dependencies. So in a way this is a symptom of the change in behavior of pip. If you consistently used pip<10, things are going to be fine 'cause you'll get all the new dependencies, and if you use new pip>10 from the start things will be fine because these dependencies will all remain at their older versions. In any case, given that this pip transition is ongoing, it does seem reasonable to bump the requirements and make it works regardless of pip version changes. |
And of course, thanks! |
On an up to date Fedora, using python3, pip install does not grab the required version of pyzmq, leading notebook to try the system version and fail.
The text was updated successfully, but these errors were encountered: