Pycharm cannot change interpreter from python 2.7 to 3.4

Im currently working on an open source Python project on Xubuntu Linux 3.19.0-51-generic x86_64 using Pycharm. Although my project requires Python 3.4 or higher, the IDE seems to force the project to use Python 2.7. I tried changing the interpreter from the Project Interpreter menu (see screenshot) and went so far as to remove the Python 2.7 entry from the Project Interpreter menu. All this to no avail. I attached a screenshot of the Project Interpreter menu and here is the first line of my debugger session to illustrate the problem:

/usr/bin/python2.7 /home/bluejay/pycharm/pycharm-community-2016.2.1/helpers/pydev/pydevd.py --cmd-line --multiproc --qt-support --client 127.0.0.1 --port 45167 --file /root/PycharmProjects/anki/runanki 

Project Interpreter Menu

Any help is much appreciated!

+3
python pycharm jetbrains anki
source share
1 answer

Try setting up another interpreter in the run / debug configuration in the same way as suggested in this answer .

Main menu → Run → Change configurations ...

enter image description here

+6
source share

All Articles