程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

The most detailed Python installation tutorial

編輯:Python

The most detailed Python Installation tutorial

One 、 Get into Python Website home page , Download the latest Python edition

https://www.python.org/downloads/

Choose the latest Python3.10.5, download 64 Bit version

Two 、 When the download is complete , Installation

1. double-click Python-3.10.5-amd64.exe

2. choice Customize installation Custom installation path , Remember to tick the two options below

3. The appearance of this page indicates that the installation was successful

3、 ... and 、 function Python

1.Win+R Open console , Input Python

At this point, there is an episode :cmd Run under python eject windows The app store
The reason for this is : Microsoft's environment variables take precedence over Python Environment variables of
resolvent :1. Modify the environment variable priority ( More trouble ) 2.win10 Menu search 【 Manage application execution aliases 】 Close the following three buttons 【 Application installer 】( This method is effective , Strongly recommend !)

If the following figure appears , Indicates that the installation failed

If the following figure appears , Indicates successful installation

here , be in Python In an interactive environment , Enter any Python Enter the code to get the corresponding execution result . If you want to quit , Input exit()+ You can enter. .
2. To configure Python environment variable
Windows Operating system according to Path The corresponding path set by the environment variable of python.exe, If not found , You're going to report a mistake . Forget to check... During installation Add Python 3.10.5 to PATH, At this time, it is necessary to manually python.exe The path where is added to Path in .

PS: The first 1 The installation failure in step is usually caused by not configuring the environment variables

Right click on my computer –> Select Properties –> Select advanced system settings –> Select the environment variable in the lower right corner

Environment variables mainly include user variables and system variables , The environment variables that need to be set are in these two variables
The user variable is that the downloaded program can be downloaded in cmd Use in command , Write the absolute path of the program to the user variable to use


thus ,Python It has been installed successfully !!
But further use Python, Development tools are essential .

Four 、 install PyCharm development tool

1. Get into PyCharm Official website
https://www.jetbrains.com/pycharm/download/#section=windows

2. install Pycharm
Modify the path according to the actual situation

Check all


Installation is complete !

5、 ... and 、 Activate PyCharm pro

1. Activate with education email


2. New projects


thus ,Python The installation tutorial of is all introduced , Welcome to like collection ~~


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved