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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.