How to change django version in PyCharm?

前端 未结 7 1342
说谎
说谎 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 09:40

    You don't do that with Pycharm, Pycharm just detects the installed version. You change the version with pip:

    pip uninstall django # just for explicity
    pip install django==1.6.8
    

    Make sure you use virtual environments if you run multiple applications on the same machine.

提交回复
热议问题