The code in the pycharm of mac cannot change the virtual environment

I use the django project under svn to run in a virtual environment, but pycharm is still dependent on the system, which makes it impossible to use modules such as django-redis,numpy

as shown in figure

clipboard.png

clipboard.png

clipboard.png

setting:
clipboard.png

:

clipboard.png

other self-created projects do not have this problem and can be executed in a virtual environment, but this project is not. The only difference is that this project is downloaded locally using svn.

follow-up findings are not due to the fact that this is also the case with svn, ordinary python projects.

how can you solve this problem, gods?

Mar.10,2021

you can create a new env environment through the setting button on the far right of the Project Intepreter option in the second figure, in which you can set packages that do not depend on the global.


which python interpreter is the python interpreter in the manage.py running configuration?

clipboard.png

The

code hint is related to the default interpreter of your project, but whether it can be run or not depends on the interpreter of your execution file.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e99baf-47544.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e99baf-47544.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?