[PYTHON] Jupyter in Cloud9 IDE

Purpose

Jupyter notebook such as Hands-on Machine Learning with Scikit-Learn and TensorFlow ageron / handson-ml Let's run it on Cloud9.


Premise

--Get Cloud9 account --Cloud9 workspace startup

Is completed


Installation

$ pip install --upgrade pip
$ pip install --user --upgrade virtualenv
$ export PATH=~/.local/bin/:$PATH
$ which virtualenv
/home/ubuntu//.local/bin/virtualenv

Preparing project env

$ 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

Start Jupyter

(env)$ jupyter notebook --port $PORT --ip $IP --no-browser
... The Jupyter Notebook is running at: 
http://0.0.0.0:8080/?token=TOKEN ...

Click the URL to open it and it's OK! Screenshot 2017-05-18 at 10.23.58.png

Recommended Posts

Jupyter in Cloud9 IDE
[Cloud103] # 3 Jupyter Notebook again
Display HTML in Jupyter notebook
Multiprocessing error in Jupyter Notebook
Settings often used in Jupyter
Use Spyder in Python IDE
Embed wav files in Jupyter
Easy Jupyter environment construction with Cloud9
Generate Jupyter notebook ".ipynb" in Python
Embed your favorite HTML in Jupyter
View graphs inline in Jupyter Notebook
Handle multiple python versions in one jupyter
Memory leak in Python Jupyter Lab (Notebook)?
Analyze PubMed paper abstracts in word cloud
Jupyter, numpy, matplotlib notes used in reports
Create and run embulk config in Jupyter
How to execute commands in jupyter notebook
In Jupyter, add IPerl to the kernel.
How to switch python versions in cloud9
Get Cloud Logging available in Python in 10 minutes