Trying to Launch jupyter notebook from terminal. I am currently on my terminal in the correct folder, and I have python 3.5 installed along with conda. But it is not launching.
Jupyter Notebooks allow you to open IPYNB
notebooks in the location you prefer. I generally recommend the following:
- First create a folder at your preferred destination
- Then go to terminal/cmd prompt and navigate to your above made destination
- Once in the destination then type in
jupyter notebook
This will then automatically trigger the browser and open the Home tab, you can start a new notebook with your preferred kernel, rename and save the notebook, which it saves at the location where you navigated through the terminal
This helps you organize your relevant/related notebooks in the same place in a structured manner.
Example shown below:
In the terminal and in the folder where your ipynb
file is located, enter:
jupyter notebook NAMEOFFILE.ipynb
file:///tmp/tmpuchfjlw0.html
and nothing happens. With directories it worked though. Tested on notebook==6.5.3
. –
Lanthanum Just type the command in the terminal to open the jupyter notebook.
$ jupyter notebook
In Windows we can't use the python3.12
command in this format as we use it in Linux or UNIX systems we have to use py -3.12
in this format to execute a specific python version.
Installing Jupyter Notebook
python -m pip install jupyter
or
py -3.12 -m pip install jupyter
Launching Jupyter Notebook
python -m jupyter notebook
or
py -3.12 -m jupyter notebook
This worked for me
~/.local/bin/jupyter-notebook --port 8887
© 2022 - 2024 — McMap. All rights reserved.