By default, JupyterHub uses Python 3.3. However you may want to use Python-2 on JuypterHub. You may want to take a look at Basic Setup and Configuration of JupyterHub with Python-3.4.3
Step 1: Install latest version of Python-2
You may want to see Installing and Compiling Python 2.7.8 on CentOS 5. You can apply this for CentOS 6
Step 2: Remember to install iPython2 and iPython[notebook] on Python-2
Do take a look at Installing scipy and other scientific packages using pip3 for Python 3.4.1 for some similar ideas
Step 3: Install Python KernelSpec for Python 2
Step 4: Restart JupytHub
Step 1: Install latest version of Python-2
You may want to see Installing and Compiling Python 2.7.8 on CentOS 5. You can apply this for CentOS 6
Step 2: Remember to install iPython2 and iPython[notebook] on Python-2
Do take a look at Installing scipy and other scientific packages using pip3 for Python 3.4.1 for some similar ideas
Step 3: Install Python KernelSpec for Python 2
# /usr/local/python-2.7.10/bin/python2 -m IPython kernelspec install-self # /usr/local/python-3.4.3/bin/python3 -m IPython kernelspec install-self
Step 4: Restart JupytHub
# juypterHub
No comments:
Post a Comment