Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
19

jupyter notebook

steves
steves

Is it possible to save and run a jupyter notebook?

4 years ago
You are viewing a single comment. View All
3
hanklu2020
hanklu2020

yes,
jupyter_notebook:

  1. create a new github repository ex. jupyter_notebook
  2. create a empty python file ex. jupyter.py
  3. clone the github repository to repl.it ("import repo")
  4. @.replit file, replace ' run = "" ' with ' run = "jupyter notebook --ip=0.0.0.0 --port=3000" '
  5. type these in terminal(in order):
    a. pip install --upgrade pip
    b. pip install notebook
    c. (jupyter --version ← if you want to check)
    d. jupyter notebook --generate-config
    e. jupyter notebook password
  6. Enter and confirm the password
  7. click the "Run" button and here you go
    Ps. if you want to save them back to github:
  8. git init
  9. git add .
  10. git status
  11. git commit -m ""
  12. git push -u origin master
3 years ago
1

@hanklu2020
I've tried it. Just have to put the full path : /home/runner/.local/bin/jupyter instead of jupyter in the toml file.

3 years ago
1
kangwonlee
kangwonlee

@hanklu2020
Thanks. It worked for me.

At first, I skipped setting the password but I had to.
Also, I had to open on a new browser tab.
The address was https://repl_name.my_repl_it_id.repl.co

Good day

2 years ago