Pychar error report solution: error:please select A valid Python interpreter and some basic settings

Detailed map traversal, teach you to master the complex gremlin query debugging method>>>

Problem Description:

Before the installation of the PC is Python 2, later work needs to be converted to Python 3. Then, when running the program of Python 2 with pychar, we find that the source program runs with an error (syntax error)

error:please select a valid Python interpreter

Cause of the problem:

When pychar imported the source project, it did not choose to run the python program

Solution:

1. Change the settings of pychar
Open settings (Ctrl + Alt + s) or file > Settings, open the configuration box, as shown in the following figure:

2. Enter interpreter in the query box to query

Pychar permanent activation method

1. Get activation code address

   http://idea.lanyus.com/

2. Open the hosts file and add 0.0.0 account.jetbrains.com to the last line of the file

Open pychar, click files in the upper left corner, and select setting: set menu bar font

Set the scroll wheel to change the font size

Open pychar, click files in the upper left corner, and select setting — > Search for mouse — select general

Similar Posts: