home scroll jupyter

Jupyter

https://code.visualstudio.com/docs/datascience/jupyter-notebooks

Activating Anaconda Environment in VsCode https://stackoverflow.com/questions/43351596/activating-anaconda-environment-in-vscode
Simply use cmd + shift + P (ctrl + shift + P for MS Windows) Search Select Interpreter Select it and it will show you the list of your virtual environment created via conda and other python versions select the environment and you are ready to go.

ModuleNotFoundError: No module named 'torch'
pip install numpy
pip install scipy
pip install torchvision
https://stackoverflow.com/questions/54843067/no-module-named-torch

Jupyterlab

Installation in conda environment
Starting jupyterlab
with the proper conda environment activated, type
jupyter notebook
The program will start the jupyter server and try to open a web browser at
This does not seem to work in Brave.
jupyter offers three alternatives in the terminal:

http://localhost:8888/tree?token=825662d3e1a010a77d2a4c2035f9d648dd933e4f4d3f77d3


http://127.0.0.1:8888/tree?token=825662d3e1a010a77d2a4c2035f9d648dd933e4f4d3f77d3


file:///home/myuser/.local/share/jupyter/runtime/jpserver-5218-open.html


Only the version with 127.0.0.1 works in Brave.

All three versions work with Firefox.
jupyter running on remote computer

Category

git Usage

Single Board Computers

Follow Me

discord