- Recommended series of tutorials, recommended must be good!
- 0. Preface
- 1、 Pycharm download and installation
- 2、 Python download and installation
- 3、 Configuring Python on pycharm
- 4、 Configure the image source to let you download swish fast
- 5、 Plug in installation (such as Chinese?)
- 6、 Beauty background
- 7、 Custom script start
You may see a lot of pictures next, because my screenshot is very detailed, ensuring that everyone can understand, so there are a lot of pictures. I also encountered small problems on the way. Don't worry, I have solved them all.
Pycharm download address:
Download detailed steps:
8 - direct finish
9-python official website:
After entering the website, click:
11 - after downloading
12 - add environment variable
Remember to double-click install:
13 - double click pycharm on the desktop
Just choose a name (my study), and click create
Click OK if you encounter the following situations
14 - add interpreter
The success is as follows:
Printing succeeded: Flag configuration completed
I like to use Tsinghua source, so I use Tsinghua source here. Of course, here are some easy-to-use image sources:
Tsinghua: HTTPS://pypi.tuna.tsinghua.edu.cn/simple Alibaba cloud: http://mirrors.aliyun.com/pypi/simple/ China University of science and technology://pypi.mirrors.ustc.edu.cn/simple/
There are three image source configurations. I suggest you learn each with me.
Copy the image source above, paste it, and then OK
This problem was encountered during the test:
PIP: the 'pip' entry cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Check the spelling of the name. If you include a path, make sure the path is correct, and then try again.
Because I forgot to add environment variables to PIP, I added them once as follows:
Exit pycharm because the environment variable is added and the software needs to be restarted. Let's enter PIP in CMD first. The configuration is successful as follows:
After restarting the software, install any module as follows: (you can see that the download speed of the module is very fast!)
Module name downloaded by PIP install-i https://pypi.tuna.tsinghua.edu.cn/simple
For example, if I want to download numpy, execute the following command:
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
Just a few seconds:
The advantage of this method is that you don't have to configure it like other configurations. You just need to add:
I suggest you add this configuration.
Go to CMD and execute the following command to create pip.ini:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
Then we add this path to the system environment variable (how to add environment variables? The operation is the same as adding environment variables to PIP, but the path is different)
If you fail to execute this command just now, you can create a file named pip on disk C. under the PIP folder, you can create a file named pip.ini with the following contents:
[global] index-url =https://pypi.tuna.tsinghua.edu.cn/simple
Add to the environment variable as before.
First of all, I don't recommend Sinicization. Finally, I'll demonstrate the Sinicized plug-in. I want to recommend some good plug-ins.
First, enter the following interface:
Recommended: tabnine. Of course, kit is also good. You can install them all. I'm using them all. I demonstrate a:
The pop-up page is deleted. Don't worry:
Test: it's already started to prompt
First of all, I don't recommend Sinicization. No matter your English is good or not, you have to adapt to this English interface. Of course, you really need Sinicization. This is a tutorial:
Now it has been fully sinicized:
If you need to download other plug-ins, you can baidu search which good plug-ins pycharm has, which are installed in the above way.
Do you want the following desktop?
Beauty desktop background settings
Are you the first to create a file each time, starting with the following?
Custom script start