How to set default PyCharm interpreter?

后端 未结 7 896
忘了有多久
忘了有多久 2020-11-28 13:43

My PyCharm installation has two interpreters available:

  • Python 3.3.2 (/usr/bin/python3.3m)
  • Python 2.7.5 (/usr/bin/python2.7)

Whenever I

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 14:10

    File | Default Settings | Project Interpreter.

    This configuration sets the default interpreter for the new projects, note the Default Settings menu, it's not the same as File | Settings which sets options for the current project.

    If there is no open project, you can access this menu from the Welcome Screen (Configure | Settings).

    Please note that it affects Open Directory option. Once you open a directory with your files, a new project will be created with the default interpreter that you have configured using the above steps. New Project option will show you the list of configured interpreters in default order and you will have to choose which one to use. There is a related request to suggest the most frequently used interpreter first.

提交回复
热议问题