-
-
Save gatopeich/8debf57e4fd8188f2f6610c6f5b0cf55 to your computer and use it in GitHub Desktop.
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... |
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...
I think so because the first thing didn't work for me, magic-moon's advice did.
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.
Thaks all, I have updated to clarify how to clean up just what is not needed.
Check here https://github.com/Susmigo/jupyter_Notebook_android
No hint of cleaning unneeded stuff there. How many hundreds of MB does it take?
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
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 )
#Choose your directory in to save sessions in..
pwd
ls
type this next command to start.
jupyter notebook
#Choose your directory in to save sessions in..
Pwd
Lstype this next command to start.
jupyter notebook
can i use pyqt5 on termux?
#Choose your directory in to save sessions in..
Pwd
Lstype this next command to start.
jupyter notebook
can i use pyqt5 on termux?
Thanks a lot for the code. It worked. However, I am not able to access the storage folder. Any tips on that?
pkg install libxml2 libxslt libiconv
might be required
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
Thanks, saved my ass with the update.