Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5952

No module named django but it is installed

$
0
0

I have two versions of python 2.7 and 3.4 and installed django through pip. it shows in ubuntu terminal:

$ pip freezeDjango==1.6.11$ pip --versionpip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)$ pythonPython 2.7.9 (default, Feb  3 2016, 02:50:32) [GCC 4.8.4] on linux2Type "help", "copyright", "credits" or "license" for more information.>>>import djangoTraceback (most recent call last):  File "<stdin>", line 1, in <module>ImportError: No module named django>>> import sys>>> sys.path['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages']>>> 

Any idea??


Viewing all articles
Browse latest Browse all 5952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>