I\'m getting the following errors in Pycharm.
Error: Django is not importable in this environment
It used to work well but I moved t
In my case, I was running the Cygwin version of Python when this error came up. Fixing it involved just adding some of cygwin's bin paths to Window's Path variable.
Run "control sysdm.cpl"
Go to the "Advanced" tab
Click the "Environmental Variables" button at the bottom of this tab
Find "Path" under "System Variables"
Add to it
;c:/cygwin/bin;c:/cygwin/sbin;c:/cygwin/usr/local/bin
I did not include /usr/bin, as for some reason, it is combined in to the /bin directory when viewing in windows.