Comments (10)
The requirements.txt is only for the not-yet released jupyter/ipython dependencies. setup.py expresses the terminado dependency. How did you install the notebook?
from notebook.
https://github.com/jupyter/jupyter_notebook#jupyter-notebook
Dev quickstart:
...
pip install -r requirements.txt
from notebook.
Yes, as mentioned above, the requirements.txt only gets the dependencies that pip install -e .
will fail to get. pip install -e .
will get terminado. Did you do pip install -e .
or something else to install the notebook package?
from notebook.
pip install -e .
2021 git clone https://github.com/jupyter/jupyter_notebook.git
2022 cd jupyter_notebook/
2023 pip install -r requirements.txt
2024 pip install -e .
2025 jupyter notebook
2026 grep terminado requirements.txt
2027 pip install terminado
2028 jupyter notebook
2029 history
Hmm, This shouldn't matter, but the VE is left over from attempting to follow
https://github.com/ipython/ipython#development-installation
pip install -e ".[notebook]" --user
Could not find any downloads that satisfy the requirement jupyter-notebook (from ipython==4.0.0-dev)
Tried to figure out how to fix, gave up, but did not clean up the VE.
from notebook.
Those exact steps worked for me. What version of pip?
from notebook.
and setuptools, perhaps.
from notebook.
(ipn)carl@twist:~/src/jupyter_notebook$ pip -V
pip 1.5.4 from /home/carl/.virtualenvs/ipn/local/lib/python2.7/site-packages (python 2.7)
(ipn)carl@twist:~/src/jupyter_notebook$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import setuptools
>>> setuptools.__version__
'2.2'
I just tried again with a clean VE, still errors.
I also grepped the output of pip install -e . for terminado, found nothing.
from notebook.
Does it work if you pip install --upgrade setuptools pip
first? Current setuptools is 15.1.
I ran this, for a clean env:
python2 -m virtualenv /tmp/test-req
source /tmp/test-req/bin/activate
pip install -r requirements.txt -e .
Which finished with:
Successfully installed appnope-0.1.0 backports.ssl-match-hostname-3.4.0.2 certifi-14.5.14
decorator-3.4.2 ipython ipython-genutils ipython-kernel jinja2-2.7.3 jsonschema-2.4.0
jupyter-client jupyter-core jupyter-nbconvert jupyter-nbformat jupyter-notebook
markupsafe-0.23 mistune-0.5.1 path.py-7.3 pexpect-3.3 pickleshare-0.5 ptyprocess-0.4
pygments-2.0.2 pyzmq-14.5.0 simplegeneric-0.8.1 terminado-0.5 tornado-4.1 traitlets
And pip freeze
:
appnope==0.1.0
backports.ssl-match-hostname==3.4.0.2
certifi==14.5.14
decorator==3.4.2
-e git+https://github.com/ipython/ipython.git@d538c7ac9dcee2e75ff5e670376ac4d3ad6715ee#egg=ipython-master
-e git+https://github.com/ipython/ipython_genutils.git@cd17ef4c300b63392738c673f41c09e5b4dfaa6d#egg=ipython_genutils-master
-e git+https://github.com/ipython/ipython_kernel.git@e02f13bfb74d1e8c82b1cf30b49e376b12fbc2c9#egg=ipython_kernel-master
Jinja2==2.7.3
jsonschema==2.4.0
-e git+https://github.com/jupyter/jupyter_client.git@67e7a98405c154c0f4f04024d5442af63b553dae#egg=jupyter_client-master
-e git+https://github.com/jupyter/jupyter_core.git@c0e8787e3c7e32ff632f7e6058ac083ffb9642e7#egg=jupyter_core-master
-e git+https://github.com/jupyter/jupyter_nbconvert.git@da1d3ee05ce3453bb2c5e2c0625160711f4419fa#egg=jupyter_nbconvert-master
-e git+https://github.com/jupyter/jupyter_nbformat.git@137926e731512b70fdf26266e9ad68254eec5b58#egg=jupyter_nbformat-master
-e [email protected]:jupyter/jupyter_notebook.git@68d41f59924939f42a538956f112f4682c5853b7#egg=jupyter_notebook-master
MarkupSafe==0.23
mistune==0.5.1
path.py==7.3
pexpect==3.3
pickleshare==0.5
ptyprocess==0.4
Pygments==2.0.2
pyzmq==14.5.0
simplegeneric==0.8.1
terminado==0.5
tornado==4.1
-e git+https://github.com/ipython/traitlets.git@4b26dff292a23b89976afa7732894c5bb1969f03#egg=traitlets-master
from notebook.
updating setuptools fixed it.
(test-req)carl@twist:~/src/jupyter_notebook$ pip install --upgrade setuptools pip
Running setup.py install for ptyprocess
Running setup.py install for terminado
Running setup.py develop for jupyter-notebook
Successfully installed backports.ssl-match-hostname-3.4.0.2 certifi-14.5.14 decorator-3.4.2 ipython ipython-genutils ipython-kernel jinja2-2.7.3 jsonschema-2.4.0 jupyter-client jupyter-core jupyter-nbconvert jupyter-nbformat jupyter-notebook markupsafe-0.23 mistune-0.5.1 path.py-7.3 pexpect-3.3 pickleshare-0.5 ptyprocess-0.4 pygments-2.0.2 pyzmq-14.5.0 simplegeneric-0.8.1 terminado-0.5 tornado-4.1 traitlets
before I updated:
(test-req)carl@twist:~/src/jupyter_notebook$ pip install -r requirements.txt -e .
Successfully installed ipython-genutils traitlets jupyter-core jupyter-nbformat jupyter-client ipython ipython-kernel jupyter-nbconvert jinja2 tornado jupyter-notebook decorator jsonschema pyzmq pickleshare simplegeneric pexpect mistune pygments markupsafe certifi backports.ssl-match-hostname path.py
(test-req)carl@twist:~/src/jupyter_notebook$ pip freeze
Jinja2==2.7.3
MarkupSafe==0.23
Pygments==2.0.2
argparse==1.2.1
backports.ssl-match-hostname==3.4.0.2
certifi==14.05.14
decorator==3.4.2
-e git+https://github.com/ipython/ipython.git@d538c7ac9dcee2e75ff5e670376ac4d3ad6715ee#egg=ipython-master
-e git+https://github.com/ipython/ipython_genutils.git@cd17ef4c300b63392738c673f41c09e5b4dfaa6d#egg=ipython_genutils-master
-e git+https://github.com/ipython/ipython_kernel.git@4e153d4f6a1fc6c5780f0c198c132d29c3e9532e#egg=ipython_kernel-master
jsonschema==2.4.0
-e git+https://github.com/jupyter/jupyter_client.git@67e7a98405c154c0f4f04024d5442af63b553dae#egg=jupyter_client-master
-e git+https://github.com/jupyter/jupyter_core.git@c0e8787e3c7e32ff632f7e6058ac083ffb9642e7#egg=jupyter_core-master
-e git+https://github.com/jupyter/jupyter_nbconvert.git@da1d3ee05ce3453bb2c5e2c0625160711f4419fa#egg=jupyter_nbconvert-master
-e git+https://github.com/jupyter/jupyter_nbformat.git@137926e731512b70fdf26266e9ad68254eec5b58#egg=jupyter_nbformat-master
-e git+https://github.com/jupyter/jupyter_notebook.git@68d41f59924939f42a538956f112f4682c5853b7#egg=jupyter_notebook-master
mistune==0.5.1
path.py==7.3
pexpect==3.3
pickleshare==0.5
pyzmq==14.5.0
simplegeneric==0.8.1
tornado==4.1
-e git+https://github.com/ipython/traitlets.git@4b26dff292a23b89976afa7732894c5bb1969f03#egg=traitlets-master
wsgiref==0.1.2
from notebook.
Weird and worrying. I wonder what version of setuptools has this fixed.
from notebook.
Related Issues (20)
- For some reason .so files aren't showing up in the Jupyter Notebook file browser HOT 6
- Cell numbering is broken for notebook/lab 7 (Anaconda) HOT 3
- Control the direction of flowcharts in Mermaid HOT 2
- Entering numbers in output automatically changes the code cell to markdown and kernel hangs HOT 6
- Keyboard shortcuts to jump to output of executed cell
- I canβt launch Jupyter notebook (PermissionError: [Errno 13] Permission denied) HOT 7
- Kernel is not connecting anymore. HOT 9
- Support the new filebrowser filter
- I can't Launch Jupyter Notebook HOT 8
- v6 -> v7 regressions make notebook impossible to use HOT 5
- Document Running Notebook over SSH Tunnel HOT 2
- Trying to open any notebook/lab v5-7 makes terminal completely unresponsive HOT 3
- Find & replace function also replaces text in read-only cells HOT 1
- OSError: [WinError 10038] - jupyter notebook crashing HOT 3
- Jupyter Notebook fails to run code with OSError and RunTimeError. HOT 8
- "Run this cell and advance" does not work in combination with getpass / input HOT 1
- shift-enter shortcut is too different from most other tools HOT 1
- no such file or directory: bin/ls HOT 2
- Syntax highlighting not on by default HOT 2
- Context-aware auto-indenting not on by default HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notebook.