Coder Social home page Coder Social logo

Failed to start proxy about jupyterhub HOT 6 CLOSED

jupyterhub avatar jupyterhub commented on May 17, 2024
Failed to start proxy

from jupyterhub.

Comments (6)

minrk avatar minrk commented on May 17, 2024

Looks like you don't have configurable-http-proxy How did you install it? What do you get from which -a configurable-http-proxy?

from jupyterhub.

mattwg avatar mattwg commented on May 17, 2024

Got the server to launch now - I was missing configurable-http-proxy there was an error at top of npm output that I missed.

Now I get to login screen and get an error:

Traceback (most recent call last):
File "/usr/local/bin/jupyterhub-singleuser", line 3, in
from jupyterhub.singleuserapp import main
File "/usr/local/lib/python2.7/dist-packages/jupyterhub/singleuserapp.py", line 16, in
from IPython.html.notebookapp import NotebookApp
File "/usr/local/lib/python2.7/dist-packages/IPython/html/notebookapp.py", line 40, in
check_for_zmq('2.1.11', 'IPython.html')
File "/usr/local/lib/python2.7/dist-packages/IPython/utils/zmqrelated.py", line 37, in check_for_zmq
raise ImportError("%s requires pyzmq >= %s"%(required_by, minimum_version))
ImportError: IPython.html requires pyzmq >= 2.1.11

from jupyterhub.

dsblank avatar dsblank commented on May 17, 2024

Did you install ipython with "pip install . -U"? I would have thought that
would have installed all dependencies, including pyzmq, and the lower libs.

In any event, "sudo pip install pyzmq" should install it.

On Mon, Oct 20, 2014 at 2:50 PM, mattwg [email protected] wrote:

Got the server to launch now - I was missing configurable-http-proxy there
was an error at top of npm output that I missed.

Now I get to login screen and get an error:

Traceback (most recent call last):
File "/usr/local/bin/jupyterhub-singleuser", line 3, in
from jupyterhub.singleuserapp import main
File "/usr/local/lib/python2.7/dist-packages/jupyterhub/singleuserapp.py",
line 16, in
from IPython.html.notebookapp import NotebookApp
File "/usr/local/lib/python2.7/dist-packages/IPython/html/notebookapp.py",
line 40, in
check_for_zmq('2.1.11', 'IPython.html')
File "/usr/local/lib/python2.7/dist-packages/IPython/utils/zmqrelated.py",
line 37, in check_for_zmq
raise ImportError("%s requires pyzmq >= %s"%(required_by, minimum_version))
ImportError: IPython.html requires pyzmq >= 2.1.11

β€”
Reply to this email directly or view it on GitHub
#69 (comment).

from jupyterhub.

mattwg avatar mattwg commented on May 17, 2024

Let me start with a fresh instance - and run from top taking notes! I did not install with pip install . -U. I presume you mean when I install jupyterhub? Or do I have to also install ipython?

from jupyterhub.

dsblank avatar dsblank commented on May 17, 2024

Yes, you need ipython too.

On Mon, Oct 20, 2014 at 3:05 PM, mattwg [email protected] wrote:

Let me start with a fresh instance - and run from top taking notes! I did
not install with pip install . -U. I presume you mean when I install
jupyterhub? Or do I have to also install ipython?

β€”
Reply to this email directly or view it on GitHub
#69 (comment).

from jupyterhub.

mattwg avatar mattwg commented on May 17, 2024

Thanks @dsblank - here is the process I followed to successfully launch jupyterhub on a clean Ubunto 14.04 server:

sudo apt-get install git
sudo apt-get install npm
sudo apt-get install python-pip
sudo apt-get install python-dev
git clone https://github.com/jupyter/configurable-http-proxy.git
cd configurable-http-proxy
sudo npm install -g
sudo npm install -g bower less
sudo apt-get install nodejs-legacy
easy_install ipython[zmq,test]
git clone https://github.com/jupyter/jupyterhub.git
cd jupyterhub
sudo pip install .

I can then start jupyterhub and login to the server.
Thanks for your help!
Matt

from jupyterhub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.