Skip to content

Instantly share code, notes, and snippets.

@vochicong
Created May 18, 2017 01:27
Show Gist options
  • Save vochicong/12dcc1511d40ffb3b619cbe050383c02 to your computer and use it in GitHub Desktop.
Save vochicong/12dcc1511d40ffb3b619cbe050383c02 to your computer and use it in GitHub Desktop.
$ pip install --upgrade pip
$ pip install --user --upgrade virtualenv
$ export PATH=~/.local/bin/:$PATH
$ which virtualenv
/home/ubuntu//.local/bin/virtualenv
$ export PJ=~/workspace/hanson-ml
$ mkdir -p $PJ && cd $PJ
$ virtualenv env
(env)$ source env/bin/activate
(env)$ pip install --upgrade jupyter
(env)$ python -c "import jupyter"
(env)$ jupyter --version
4.3.0
(env)$ jupyter notebook --port $PORT --ip $IP --no-browser
... The Jupyter Notebook is running at:
http://0.0.0.0:8080/?token=TOKEN ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment