1👍
✅
The problem was that I wasn’t selecting the correct folder when opening the project. I opened the whole virtualenv
folder with Pycharm cause I wanted quick access to the activate
file in /bin
where I keep my environment variables.
The solution was to delete the .idea
folder and open the specific django project folder. I thought there was a workaround to this but there wasn’t. The question still remains if there is a way to add the activate
file in the /bin
directory of the virtualenv
to the project, even if it is outside the project root.
Source:stackexchange.com