Install Python2.7.13-64bit & pycharm Switch between two Python versions

Source: Internet
Author: User

A 32-bit python27 has already been installed, but a memory overflow error occurred when using contour coefficients to evaluate the K-means model's excellent performance. The original 32 Python compiler can use up to 4GB of memory, so I'm going to switch to 64-bit python. (I didn't know why I had a 32-bit python.)

    • 1. Last officer Web download https://www.python.org/Download the latest version 2.7.

Is the following red box, in the description of this item, gee, how no Intel processor, I guess as long as it is not itanum processor, the others are supported. (Intel processors are supported)

When installing, be sure not to be in the same folder as the previous Python, otherwise you do not know what the moth will appear.

So to create a new empty folder (such as C:\Python2.7.13-64), in the presence of this 64-bit python.

    • 2. Setting System Environment variables

C:\Python2.7.13-64\Scripts and C:\Python2.7.13-64 need to be added to the path. This time, you need to note that the previous 32-bit Python is not installed, this is also in the environment variable ah, when the time to run the Python command in the console, in the end is running the version of the pinch?

Don't worry, oh, the system looks up commands in order according to the values in the environment variables, that is, if the 64-bit path is in front of the 32-bit path, then 64 bits are run. (You can adjust the order by moving the Move Down button according to your actual needs) as shown in:

3. The IDE uses pycharm, so how do I switch between different versions of Python?

In "File", "Settings", "Project:python_workspace"-"Project interpreter", then drop-down to select toggle.

Note Oh, down to different Python versions, the corresponding package below will also be switched, 32-bit Python corresponds to 32-bit packets, 64-bit Python corresponds to 64-bit packages, so the installation package needs to pay attention to the number of bits.

Install Python2.7.13-64bit & pycharm Switch between two Python versions

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.