2

I installed jupyter notebook on android via Termux, but I still can't open my .ipynb or .py, because I can't open directories neither upload a file.

This is my jupyter for opening files page:

This is my jupyter for opening files page

I get this when I'm trying to upload file:

I get this when I'm trying to upload file

Rafael Lee
  • 43
  • 1
  • 3
  • https://stackoverflow.com/questions/22388519/problems-with-pip-install-numpy-runtimeerror-broken-toolchain-cannot-link-a – Alex F Oct 11 '17 at 18:29

2 Answers2

4

Jupyter must be started from the directory containing the notebooks. Maybe this is the information you need.

I could not successfully install Jupyter on Termux on my Android devices (phone and tablet) due to errors when trying to install numpy.

So, I turned to an alternate solution which did work perfectly with no hassle:

I installed Pydroid 3, a Python 3.6 IDE for Android. Then, I pip installed within the IDE the required libraries (numpy, pandas, jupyter) without any difficulty.

To start Jupyter, I launched a terminal using the relevant Pydroid menu.

And finally, I changed the directory to the one where I had dowloaded a whole bunch of Jupyter notebooks and launched Jupiter which automatically open the notebook tree in my browser:

running Jupyter

Fully executable notebook:

Fully executable notebook

Jean-Pierre Schnyder
  • 1,572
  • 1
  • 15
  • 24
1

To install jupyter notebook into termux Android, you need to copy paste these codes one by one into termux terminal. (Note: for python programming language)

pkg remove game-repo
pkg remove science-repo
pkg update

apt install python
pkg install libzmq

pip install jupyter

After you have completed all these, just type jupiter notebook on termux terminal to open the jupyter every time. An url like "http://localhost:8870/?token=d2845af71c0d9b0ea3b43......abansk" (not complete real url, just an example) will come out and you will need to copy and paste into your browser.