How to change django version in PyCharm?

前端 未结 7 1326
说谎
说谎 2021-02-14 09:39

I\'ve installed new PyCharm that uses django v1.71(default), but I would like to change it to v1.68.

How can we achieve this with PyCharm?

7条回答
  •  不知归路
    2021-02-14 10:06

    The best way is to use virtualenv: create a new virtual environment, install the python you want and keep the path to this version's python.exe file.

    Open PyCharm and go to settings:

提交回复
热议问题