How to change django version in PyCharm?

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

How can we achieve this with PyCharm?

+4
source share
6 answers

You do not do this with Pycharm, Pycharm simply discovers 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 are running multiple applications on the same computer.

+6
source

Go to SettingsProject Interpreter.

Double-click the package Django. Check the box Specify versionand select the version you want.

Click the button Install Package.

Django pip .

+5

.

File -> Default Settings -> Default Project -> Project Interpretatoe
+1

requirements.txt, , , - PyCharm .

+1

→ settings → Project Interpreter django . . .

0

- virtualenv: , python python.exe.

PyCharm :

enter image description here

0

All Articles