python version problem with pycharm

The new system, ubuntu14.04, uses opencv to do some image processing, and downloads a pycharm community edition.

The installation of opencv in the interpreter failed. Say my OS doesn't support it?

Under python in the terminal, version 3.4, go back to pycharm, rebuild the project, only to find a small prompt:

python 3.4 has reached its end-of-life dateand it is no longer supported in pycharm

Well, if you say you don't support it, you don't support it, it's really willful.

So the question is, who do you support? Didn't tell me?

Back to the official website , um,

python3 only supports 3.5 to 3.8

I cried then.

I am python3.4, what am I doing wrong?

Just kidding, programming matters.

Here is the solution:

Under Ubuntu, search for Python under usr/bin, and the following files appear:

You can see the file type named python: link to executable.

Right click and inspect properties, this link points the default Python to Python 3.4.

It is this program, when we type python in the terminal, python3.4 will appear, you can also specify. Because a higher version is required, install 3.5 first

sudo apt-get install python3.5

This ln is the link instruction

Go back to pycharm, create a new project, you can see the 3.5 version of python, the interpreter can re-search opencv and you can install it smoothly