You will find there are two different pips on your computer - the default is obv 2.7. the most likely command you will need is pip3 (on ubuntu), but your best bet is to:
- set up a virtualenv - set up your path to default to python 3.5.1 I would use the virtualenv solution personally. There is also the quick and dirty "which python" then doing an ls -l | grep pip on the directory that python is in (/usr/bin for me) Cheers L. ------ The most dangerous phrase in the language is, "We've always done it this way." - Grace Hopper On 1 March 2016 at 11:59, Gary Dhillon <gary.d...@gmail.com> wrote: > I've installed Django and I keep getting no module named django when > importing. I have python 3.5.1 and used pip to install django 1.9.2. Its > showing up on my python 2.7 though. Any help would be appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/3ea8f361-3642-4b16-97f0-77ce379a0a49%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/3ea8f361-3642-4b16-97f0-77ce379a0a49%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGBeqiNaKp2tW278LSaKTYEz_-rH_O5JTVKLRkJsB8UeZWOhTw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.