Install vscode for machine learning

install python

The current commonly used version of python is version 3.8, just go to the official website to download and install it. Below is the download link for windows64bit, python version 3.8.1.
Links to other versions of python3.8.1
are as follows:
Python downloads for each version
During the installation process, please check add python*** to path. This sentence means that adding python to the system environment and checking it can save a lot of things.

install anaconda

The anaconda installation package is downloaded, and the recommended download address is Tsinghua Mirror Station.
When installing, also pay attention to checking add anaconda to the system path and the python above.

Create a virtual environment
win+r and enter cmd in the opened window to enter the command line interface.
insert image description here
Enter the conda create -n preset virtual environment name python==3.8 to create the corresponding virtual environment. Later, you can use the conda activate virtual environment name and conda deactivate to activate and close the virtual environment through the command line.

install vscode

Win11 computers can download vscode directly in the app store, other systems or below win11 can be downloaded from the official website
insert image description here

install plugin

Open vscode and click on the extension on the left, search for python and install it.
insert image description here

Guess you like

Origin blog.csdn.net/chenxingxingxing/article/details/127714906