Home >Backend Development >Python Tutorial >Which disk should python be downloaded and installed to?
Which disk should python be downloaded to?
Related recommendations: "python video"
The following is an introduction to how to download python, and an explanation of which disk to install
1. Open the official website/www.python.org and select Downloads
2. Then select the version 3.X.X or 2.X.X to be installed here.
3. Download of 2. #(1) 2.X.X needs to download windows XXX MSI installer
(2) 3.X.X needs to download windows XXX executable installer
4. After the download is complete, open it. Here I downloaded 3.6.4
(1) Check Add Python 3.6 to PATH to install Python Add the path to the Path variable of the system environment variable (so that we have one less step to add the environment variable ourselves)
(2) Select Install Now to install pythone in the C drive directory by default. python can be installed on any disk. , here I choose the custom path
(3) Select Customize installation to customize the path
5. After selecting Customize installation, this step will select all by default, and then click next
6. In this step, you need to check Install for all users, and choose the path according to your needs (I installed it in the Python36 folder under the F drive)
7. Click Install to start the installation. The process is very fast
##8. The installation is successful
9. Verify whether the installation is successful
Open cmd, enter python, the following prompt will appear, you are done10. Manually add environment variables
If you accidentally forget to check Add environment variables, you can also add them manually(1) Right-click the computer-select Properties-open the page below
(2) Click Advanced System Settings-Environment Variables-Open the page below
(3) Add F:\Python36# to the system variable path
##Note:The appended path is your python file path. Since it is a custom path, please also note that the path is not the default C drive, but the F drive
The above is the detailed content of Which disk should python be downloaded and installed to?. For more information, please follow other related articles on the PHP Chinese website!