Table of contents
1. Create a new conda environment;
2. Open jupyter notebook in the new conda environment;
3. Open jupyter notebook in the new file directory;
The video link is as follows:
This article is also a note based on the teaching and learning of this video, hoping to help more people.
anaconda
1. Create a new conda environment;
2. Open jupyter notebook in the new conda environment;
3. Open jupyter notebook in the new file directory;
detailed steps:
1. Create environment: conda create -n {environment name} python=3.9
conda create -n pytorch python=3.10
2. Open the pre-processing of jupyter in the environment:
(1)conda install ipykernel
(2) python -m ipykernel install --name {your virtual environment name, such as qq} --display-name {the name you want to display}
python -m ipykernel install --name pytorch --display-name pytorch
(3)conda install jupyter notebook
3. Open a certain folder on a certain disk:
(1)d:
(2) cd folder name cd base
(3)jupyter notebook
Disclaimer: This article is written based on the video in the video link in this article. It is only for learning purposes. If there is any infringement, the contact must be deleted!