Skip to content

Instantly share code, notes, and snippets.

@vitorcalvi
Last active July 15, 2024 14:34
Show Gist options
  • Save vitorcalvi/e623ac64ef0c7f49713181848dda5f14 to your computer and use it in GitHub Desktop.
Save vitorcalvi/e623ac64ef0c7f49713181848dda5f14 to your computer and use it in GitHub Desktop.
Install Jupyter Notebook on Android Mobile
# Step 1: Install the Termux app
# Download and install the Termux app from Google Play Store or F-Droid
# Step 2: Open Termux and run the following commands
# Update and upgrade existing packages
apt update && apt upgrade -y
# Install necessary packages
apt install clang python fftw libzmq freetype libpng pkg-config libcrypt -y
# Install Jupyter Notebook
LDFLAGS="-lm -lcompiler_rt" pip install jupyter
# Optionally, install additional useful packages
LDFLAGS="-lm -lcompiler_rt" pip install numpy matplotlib
# Step 3: Run Jupyter Notebook without a password
jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser --NotebookApp.token='' --NotebookApp.password=''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment