Skip to content

Instantly share code, notes, and snippets.

@gatopeich
Last active March 29, 2024 22:10
Show Gist options
  • Save gatopeich/8debf57e4fd8188f2f6610c6f5b0cf55 to your computer and use it in GitHub Desktop.
Save gatopeich/8debf57e4fd8188f2f6610c6f5b0cf55 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...
@godsworkers
Copy link

#Choose your directory in to save sessions in..
Pwd
Ls

type this next command to start.

jupyter notebook

can i use pyqt5 on termux?

https://pypi.org/search/?q=pyqt5

@abdulazizalmass
Copy link

Thanks a lot for the code. It worked. However, I am not able to access the storage folder. Any tips on that?

@subhamsdalmia
Copy link

pkg install libxml2 libxslt libiconv

might be required

@dchap27
Copy link

dchap27 commented Jan 26, 2023

Thanks a lot for the code. It worked. However, I am not able to access the storage folder. Any tips on that?

@abdulazizalmass use the command termux-setup-storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment