About using pycharm to choose the default interpreter under ubuntu

python2 and python3.5, are already included under ubuntu. I installed 3.6 myself, so I chose 3.6 to configure the interpreter under pycharm, but did not actually execute python3.6. For example, if I execute python on the command line, the default is 3.6.3, but if I execute python manage.py runserver (a sentence for launching a web page), it will tell me that django is not installed, but if I execute python3.6 manage.py runserver, it can be executed. This is fine on the command line, so how to set it up under pycharm?

Mar.02,2021

http://www.os373.cn/article/100

you can read this article.

After

pycharm configures the python interpreter in Project Interpreter, the integrated Terminal (terminal) automatically becomes this version, or if you are the flagship version of pycharm, you can select Run manage.py Task in Tools

.
  • About what token doesn't understand.

    at present, we are writing the api interface, which is the interface provided for the mobile end, so why do we add a token? when we set the user name and password for the user? And the document also says to verify it in the way of token? Isn t it okay t...

    Feb.28,2021
Menu