Python free download and installation tutorial, python programming software free installation

This article will tell you about the free download and installation tutorial of python, and the free installation of python programming software. I hope it will be helpful to you. Don’t forget to bookmark this site.

Please enter the extraction code for Baidu Netdisk

Extraction code: wifx 

After downloading, remember to unzip the python file. There are 32-bit and 64-bit files in it. Delete the unused ones according to your own configuration and leave the ones you need

Note: Right-click to unzip to python-3.9.2-embed-amd64 , if it is unzipped to the current folder, it will all come out and look messy

The python I gave here is free of installation, I am 64-bit, just unzip it directly to the folder you prepared

One: python

1. Unzip

2. Since it is an installation-free version, there is no pip, so pip needs to be configured 

Put the get-pip.py file into the unzipped folder

 

Then open the command line, enter the installation folder, and enter the following commands on the command line in turn (subject to the location of your own folder directory)

cd /dd: (Enter E for disk E)

 

Then enter python get-pip.py on the command line , the pip3 tool will be installed automatically, wait for a while

 After execution, the root directory of python will automatically create Lib and Scripts folders

 Find the python39._pth file in the python root directory, open it with Notepad, remove the # in front of "import site", remember to save

After the installation is successful, enter python -m pip --version to ensure the installation is successful

2. Configure environment variables

After pressing the shortcut key win+R, enter "sysdm.cpl", then press Enter, Advanced, Environment Variables

Edit, create, put the python directory and s directory in, remember to click OK

 

 Test it, enter python on the command line , and it will succeed

Enter exit() to exit 

Two: pycharm 

1. Double-click pycharm-community-2017.3.7.exe in the downloaded folder

2. It is recommended not to put it on the C drive, don’t be a warrior on the C drive, you will regret it, click browse  , put it in another drive, and then next

 3. Next, select 32-bit or 64-bit according to your own configuration, check the others, and then next

 4. Next, you don’t need to change it, just install it directly

wait a moment

 5. After installing and opening the software, a window will pop up at the beginning, choose the second one

Next, the Accept button needs to read the agreement, here we directly pull to the end and then ok

choose your favorite theme

  

The plugins here can be installed according to your needs

6. Try to create a new project create new project

 Right-click the project manager's new package new package

Right-click the newly created package to create a new python file

At this time, an error will be reported because python is not configured

Open the setting in the file in the upper left corner

 

If such an error is reported, it should be that the virtual environment is not configured properly. Enter pip install virtualenv on the command line

 Then click the gear on the right to add

 Click the three dots on the right to find the python directory, and select python.exe with the suffix .exe

 

At this time, the downloaded package will come out, and then apply and then ok

 Now there is no error, right click on the blank area, run can run the code

 At this point, the installation is complete

In the follow-up study, it is inevitable to install other packages. If you want to download other packages, you can download them on pycharm, or you can refer to my other article for quick command line download. 

 Problems encountered by pip installation library_Lorrey_'s Blog-CSDN Blog

 If this article is helpful to you, please give it a like, thank you

Guess you like

Origin blog.csdn.net/mynote/article/details/132178412