Installation of Pycharm

Source: Internet
Author: User

For some reason, to install pycharm on a very old XP computer, but because the system version is too low, there are a lot of problems in the installation process, here to make a simple record of these problems;

First, the installation of Python

Download path for 1.Python: https://www.python.org/downloads/windows/

Note: The last version of Python support for XP is 3.4.4 : Https://www.python.org/ftp/python/3.4.4/python-3.4.4.msi

Settings for 2.python environment variables

Find the path of the system environment variable, add C:\Python34; C:\Python34\Scripts;

3. Check if Python installation is complete

Enter CMD in the run, go to the command line, enter Python--version, see if the Python version is returned, and if the version information is returned normally, the installation is complete;

Second, the installation of Pycharm

Download path for 1.pycharm: http://www.jetbrains.com/pycharm/download/#section =windows

2. After the download is complete, follow the steps to install, after the installation is complete, the first time to open the pycharm, there may be several error messages:

1) Could not find main class Com/intellij/idea/main

Cause: This old XP computer was installed before the JDK version is 1.6.0, the version is too low, resulting in the inability to run pycharm;

Workaround: Re-download the 1.8.0 version of the JDK, but found that on the XP computer can not run the installation of the JDK exe download files, and later through the 7-zip decompression tool to extract the JDK file can be used normally, the specific steps see https:// jingyan.baidu.com/article/ae97a646aa47aebbfd461df1.html;

2) Theenvrionment variable java_home does not point to a valid JVM installatio

Cause: found that the relevant environment variables are not well-equipped;

Workaround: Verify that the information for the following three environment variables is configured correctly

    • Java_home Value: D:\Program files\java\jdk1.8.0 (Install JDK directory, note that this environment variable does not add ";" after the path, and found that there are cases where adding ";" will cause Pycharm to run the Times wrong)
    • Value of classpath:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;%java_home%\bin; (Note the preceding ".;" To add, if not new)
    • Value of path: Append at start.; %java_home%\bin;%java_home%\jre\bin; (Note the preceding ".;" To add, if not new)

Registration code for 3.PYCHARM

Refer to 78727496

Installation of Pycharm

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.