jupyter notebook
Is it possible to save and run a jupyter notebook?
hanklu2020
yes,
jupyter_notebook:
- create a new github repository ex. jupyter_notebook
- create a empty python file ex. jupyter.py
- clone the github repository to repl.it ("import repo")
- @.replit file, replace ' run = "" ' with ' run = "jupyter notebook --ip=0.0.0.0 --port=3000" '
- 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 - Enter and confirm the password
- click the "Run" button and here you go
Ps. if you want to save them back to github: - git init
- git add .
- git status
- git commit -m ""
- git push -u origin master
vincentxavier
@hanklu2020 I've tried it. Just have to put the full path : /home/runner/.local/bin/jupyter
instead of jupyter
in the toml file.
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
fernandob
I tried today, couldn't get it to work if someone managed to figure it out, please lmk
amasad
I'm not sure. I haven't tried, did you try running it?
I think I got it to work more easily. Try forking this: https://repl.it/@ilyagr/Jupyter