Probably, pip installs packages into dist-packages directory, which is not included into PYTHONPATH environment variable. You have a couple of solutions:
- Create and configure
virtualenvfor your project, before usingpip. This is the most Pythonic way -
Try to install
Djangousing built-in pip module:python -m pip install djangoThis command should install packages into
site-packagesdirectory. - You may also add
dist-packagesto yourPYTHONPATH. This question should help you: How to globally modify the default PYTHONPATH (sys.path)?