Anaconda refers to an open source Python distribution, which includes more than 180 scientific packages such as conda and Python and their dependencies. Because it contains a lot of science packages.
https://www.anaconda.com This is his official website. Click Download to choose the installation package that suits your system version. The computer I am demonstrating is 64-bit, so what I downloaded here is the 64-bit installation package.
After downloading it locally, double-click to start the installation interface. Next >
The agreement permits, just agree. I Agree. If you don’t agree, you can’t continue the installation.
Select the installation type here. He recommended just me (only myself); but I chose all users (all users). Note that selecting the All User Security button requires administrator rights to select it. Next >
Select the installation path. I installed it under C:\ProgramData by default. If necessary, you can change the installation path yourself. Next >
Advanced installation options, here I chose Add Anaconda to the system PATH environment variable (Add Anaconda to the system environment variable) and Register Anaconda as the system Python 3.7 (Install Python 3.7 in the system). These two options depend on your choice. Change. After selecting, click Install.
Starting the installation is a long wait. Because the thing is very broken, it basically takes a long time to install. It doesn't mean that it is stuck. During the normal installation, do not touch it and let the program wait until the installation is successful.
Installation completed, next step
Well, the installation process is over, Finish.
Just open the terminal and enter python to see the environment where python3.7.3 is installed. If it cannot be opened, it means that the system environment variables were not added in the previous steps. If necessary, you can add python to the system environment variables yourself to start quickly.
Next, install PyCharm
www.jetbrains.com \ \This is the official website address. In addition, the software on other fancy websites may have been modified.
Click DOWNLOAD NOW in the black box to download now.
I choose Professional (professional version - paid) here, and Community (community version - free) next to it.
Once clicked, the download will begin.
After downloading it locally, double-click the installation package to start the installation settings. Next >
Select the installation path. Here I installed it to the default path. Of course, you can choose the installation path according to your own situation.
Installation options
Create Desktop Shortcut (创建桌面快捷方式)
Update PATH variable (restart needed) (更新启动器到系统变量,需要重启?)
Update context menu (更新程序到开始菜单)
Create Associations (关联.py后缀文件,应该是这样)
I have chosen all of them here, it depends on the situation.
Choose to add to the start menu folder. If there is no other JetBrains software, just create a new folder.
Start the installation and wait.
After the installation is complete, I want to manually reboot later (I choose to reboot later), or Reboot now (reboot now).
The first time you run it after installation, Do not import settings (Do not import settings)
User Agreement, check to accept the user terms. ContinueContinue
data sharing? ? ? ? Don't send
Selecting the UI interface, I chose a dark theme.
The settings were too troublesome, so I directly chose Skip Remaining and Set Defaults (skipping settings and choosing defaults).
Activate, big head!
Find the file named hosts in this path and open it with Notepad.
C:\Windows\System32\drivers\etc
Add these two items after the full text and comment that these two addresses will prevent the software from connecting to the network server.
0.0.0.0 account.jetbrains.com
0.0.0.0 www.jetbrains.com
Save it after adding it. Note that you must have administrator permissions to edit the hosts file!
After saving, paste my activation code below.
It is still valid as of May 2, 2019.
56ZS5PQ1RF-eyJsaWNlbnNlSWQiOiI1NlpTNVBRMVJGIiwibGljZW5zZWVOYW1lIjoi5q2j54mI5o6I5p2DIC4iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiRm9yIGVkdWNhdGlvbmFsIHVzZSBvbmx5IiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJJSSIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IkFDIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiRFBOIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7ImNvZGUiOiJHTyIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IkRNIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiQ0wiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7ImNvZGUiOiJSQyIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiUEMiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7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LbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
Click OK
After reloading the software, you can see that the loading page has displayed the genuine authorization, indicating that the activation was successful.
Registration information is until March 11, 2020
Open Create New Project for the first time
In the new project settings, I also choose the default project path.
Select translation, just point the direct path to the Anaconda python we installed earlier, and then Create.
Create a python file
OK after naming
Start setting up the interpreter, show all.
If you don't select the interpreter, the script you write will not run.
Anaconda was installed before, so just select it, and then it will automatically start configuring the conda environment.
After configuration, the interpreter is ready, just select OK.
Here, it means that the interpreter has selected Apply to save and exit.
The interpreter will start to be updated in the background, just wait for a while.
Then I can enter my first line of code in it!
a = "Hello,world!"
print(a)
After configuring the interpreter, Shift + Ctrl + F10 can run the script directly.
The first output can be seen in the Run box: Hello, world!