python - Error installing Django -


error traceback below.

import django traceback (most recent call last):   file "<stdin>", line 1, in <module> importerror: no module named django 

enter image description here

if you're installing django on system level, try installing via root this

sudo pip install django 

if you're in virtualenv, simple pip install django work.

to know virtualenv is, please refer: https://virtualenv.readthedocs.org/en/latest/


Comments