Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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...
@magic-moon

This comment has been minimized.

Copy link

@magic-moon magic-moon commented Dec 19, 2019

pkg install python python libzmq libcrypt clang

@ivanivkovic

This comment has been minimized.

Copy link

@ivanivkovic ivanivkovic commented Dec 20, 2019

pkg install python python libzmq libcrypt clang

Thanks, saved my ass with the update.

@gatopeich

This comment has been minimized.

Copy link
Owner Author

@gatopeich gatopeich commented Dec 20, 2019

Do you mean these dependencies are needed now instead of the ones I posted, or in addition?

I am guessing they go before the "autoremove", so they don't get wiped out...

@ivanivkovic

This comment has been minimized.

Copy link

@ivanivkovic ivanivkovic commented Dec 28, 2019

I think so because the first thing didn't work for me, magic-moon's advice did.

@Marshallmaxiao

This comment has been minimized.

Copy link

@Marshallmaxiao Marshallmaxiao commented Apr 2, 2020

pkg install python python libzmq libcrypt clang

Thanks it saved my ass too. I didn't remove or uninstall anything. Seems like the libzmq was missing.

@gatopeich

This comment has been minimized.

Copy link
Owner Author

@gatopeich gatopeich commented Apr 2, 2020

Thaks all, I have updated to clarify how to clean up just what is not needed.

@Susmigo

This comment has been minimized.

Copy link

@Susmigo Susmigo commented Aug 2, 2020

@gatopeich

This comment has been minimized.

Copy link
Owner Author

@gatopeich gatopeich commented Aug 4, 2020

Check here https://github.com/Susmigo/jupyter_Notebook_android

No hint of cleaning unneeded stuff there. How many hundreds of MB does it take?

@luanon404

This comment has been minimized.

Copy link

@luanon404 luanon404 commented Oct 28, 2020

after use your code i cant use pkg 🤔
find: ‘/data/data/com.termux/files/usr/var/cache/apt/pkgcache.bin’: No such file or directory

@godsworkers

This comment has been minimized.

Copy link

@godsworkers godsworkers commented Nov 27, 2020

after use your code i cant use pkg 🤔
find: ‘/data/data/com.termux/files/usr/var/cache/apt/pkgcache.bin’: No such file or directory

apt update && apt upgrade -y
#(after doing this it worked )

@godsworkers

This comment has been minimized.

Copy link

@godsworkers godsworkers commented Nov 27, 2020

#Choose your directory in to save sessions in..
pwd
ls

type this next command to start.

jupyter notebook

@luanon404

This comment has been minimized.

Copy link

@luanon404 luanon404 commented Nov 27, 2020

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

type this next command to start.

jupyter notebook

can i use pyqt5 on termux?

@godsworkers

This comment has been minimized.

Copy link

@godsworkers godsworkers commented Feb 17, 2021

#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

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