Skip to content

Instantly share code, notes, and snippets.

@miklobit
Forked from gatopeich/install_Jupyter.sh
Last active June 24, 2020 09:26
Show Gist options
  • Save miklobit/c7ecfe05f2826155eecb604bf6c8a3a5 to your computer and use it in GitHub Desktop.
Save miklobit/c7ecfe05f2826155eecb604bf6c8a3a5 to your computer and use it in GitHub Desktop.
Install Jupyter iPython Notebook on Android via Termux
pkg upgrade
# Install runtime deps
pkg install python libzmq libcrypt
# Add build deps
pkg install python-dev libzmq-dev libcrypt-dev clang
pip3 install -U pip
pip3 install pyzmq --install-option="--zmq=/usr/lib"
pip3 install jupyter
# Remove build deps and pip cache
apt remove python-dev libzmq-dev libcrypt-dev clang
apt autoremove
rm .cache ../usr/var/cache -rf
#TODO: Clean up ~200 mb pulled by build...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment