Pycharm Switching Python versions

Source: Internet
Author: User

Tag:icon   src   print   https    error message      display    sel   enter   jpg   

    1. Opening the software will see that there is a noticeable red hint error. The reason is that python3.3 is currently in use, and when print is executed, the printed text needs to be enclosed in parentheses ' () '.

    2. Find this icon in the toolbar like a wrench and gear

    3. Find the Project interpreter option on the left

    4. Here you can see the Python version currently in use, select click the down arrow

    5. The available Python and Jython versions are shown here, and Jython will load Python into the JVM for execution, which is generally much slower, so choose python2.7

    6. Click Apply and OK

    7. Now you can see that there are no red error prompts, and now Pycharm is using python2.7. Print no parentheses, and of course it's fine.

      steps to read

Pycharm Switching 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.