Python-related installation software

Source: Internet
Author: User

This installation of the system is the Windows system

I. Python3, Anaconda and Python2

1, preparation tools: Python3, Python2 installation package can be downloaded directly from the official website Https://www.python.org/getit/,anaconda installation package download https://www.anaconda.com/

2, Anaconda comes with Python3, want to install Python3 can choose Python official website can also choose Anaconda, but Anaconda is integrated python of various packages, post-learning architecture and crawler will save a lot of trouble, So it is recommended to install Anaconda.

3, Python3 and Python2 installation steps, both exactly the same, take Python2 as an example

  

Follow the steps above to python2 the installation is complete. The second step is to choose the installation path, it is best to set a path, this example directly in the D disk in the Ruanjiananzhuang folder to create a new python27 file, the Python2 are installed in the Python27 folder, the 4th step is to add environment variables, If you forget to tick, you can add environment variables manually. To do this, follow these steps:

11th Step: When adding environment variables, be sure to split them with English semicolons.

12th step: Find your own installation path, the legend is: D:\ruanjiananzhuang\python27

13th step: Forget to write this step, in addition to the above path, but also add D:\ruanjiananzhuang\python27\Scripts to the environment variable.

Then open cmd with win+r, open in cmd, Python, because I have to facilitate version management has changed the Python.exe file to Python2, so in the cmd input python2, if it is just installed, the default name is Python. The contents of the blue box represent the wrong path, that is, the environment variable is not set, the red box indicates that the installation is successful. If the environment variable is already set, the contents of the blue box still appear, restart the computer is OK.

4, Anaconda Installation

  

The 5th step is to choose the installation path, it is best to create a new one, convenient for later search, this example installed in D in the Ruanjiananzhuang folder in the Anaconda folder.

7th Step Setting environment variables be sure to tick

At this point to complete the installation of Anaconda, of which the 7th step must not forget, it is set environment variables, if you forget, you can manually set the same as Python2, but this added path more, directly re-installed on the line.

Then enter Python in the CMD to see if the installation is successful, if the following problems, the environment variables set the problem, if the settings are still there, then restart the computer.

The installation is successful if the following conditions are present.

Ii. Coexistence management of Python3 and Python2 versions

1, Python3 and Python2

Locate the Python installation path, locate the Python.exe executable, and then rename it, for example Python2 to Python27,python3 instead of python35

  

Then enter python27 in cmd and open python2.

The same principle is true for Python3 settings

2, Anaconda and Python2

Python2 the same settings as above, for Anaconda can find the installation path, the Python.exe executable file name change, for example, to Python3

  

Then enter Python3 in CMD.

Two versions can be run in cmd at the same time.

Note: This can cause problems in managing anaconda and Python2, and if you rename the Python executable in anaconda, it causes the other packages in the Anaconda to not find the Python executable file, and the input Conda List command error

To solve this problem, you need to change the Python executable file in Anaconda to the default name for the installation, or to the default Python name.

Then enter the Python and Conda list commands in cmd, all back to normal, so that Python defaults to python3,python27 to Python2.

Third, notepad++ installation

1, prepare the tool, download directly from the official website https://notepad-plus-plus.org/

2. Installation:

  

The 3rd step is to select the installation path, which is installed in the Notepad folder in the D-Drive Ruanjiananzhuang folder.

Iv. installation of Pycharm

1, prepare the tool, download http://www.jetbrains.com/pycharm/directly from the official website, note to download the professional version.

2. Pycharm installation process

  

The 2nd step is to select the installation path, this example is the Pycharm folder installed in the D-Drive Ruanjiananzhuang folder.

The 4th step according to your computer settings, this example of the computer is 64-bit.

The 5th step is to let Pycharm automatically find the path to Python and set the parser to Python automatically. You can also uncheck it and set it up after the installation is successful.

The installation is complete at this point pycharm.

3. Pycharm activation

  

The 9th and 10 steps appear after the installation is successful, then there are three activation methods, we choose License Server and Activation code two mode of activation.

Mode one: License server

1. Select License Server

2, input http://elporfirio.com:1017/, or http://idea.imsxm.com/

3, select Activate to activate the success

Mode two: Activation code

Before activating, add "0.0.0.0 account.jetbrains.com" to the Hosts file under C:\Windows\System32\drivers\etc, and just put it in the final line.

The open way is best opened in notepad++ way.

Then follow steps 1, 2, 3

1. Select Activation Code

2, copy the activation code here, open http://idea.lanyus.com/to get the activation code

3. Click OK to succeed

At this point pycharm the installation activation success, then directly open the use on the line.

---restore content ends---

Python-related installation software

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.