Windows system installation python tutorial, as well as PyCharm installation, detailed entry for newbies

Recently I need to install python on a new computer and record the installation process.

  1. Go to the official website of python to download: https://www.python.org/Choose
    the system to download, here is Windows
    Insert image description here
  2. Then select the latest Release version and click in
    Insert image description here
  3. Then slide to the bottom and choose the one that suits your system. Mine is 64-bit.
    Insert image description here
  4. After downloading, click Run
    Insert image description here
  5. Then choose where to install it.
    Insert image description here
    I performed a custom installation and installed python to the D drive instead of the default C drive.
  6. Then go to this page, it is recommended to check allInsert image description here
  7. Select a custom installation directory, I put it on the D drive
    Insert image description here
  8. Just click Install
    and then check whether the installation is successful. Win+R and enter cmd to open the command prompt
    Insert image description here
    and then enter python to see if there is a prompt
    Insert image description here
    for version information. If there is version information, it means the installation is successful!
    You can enter print("hello") to see if the output will run normally.
    If not, it may be because the environment variables are not configured properly. (Because you can see that the command prompt of the personal user cy is currently open)
    Let’s take a look at my cy environment variable configuration:
    Insert image description here
    Then that’s it!

For the installation of PyCharm, you can refer to my article: PyCharm installation tutorial, detailed for beginners

Guess you like

Origin blog.csdn.net/changyana/article/details/133099904