Monday, February 29, 2016

Re: New to Django

Thanks, really appreciate it!

On Monday, 29 February 2016 19:19:21 UTC-7, Lachlan Musicman wrote:
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...@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...@googlegroups.com.
To post to this group, send email to django...@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.
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+unsubscribe@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/556c5a35-3b52-448d-8c4d-58d5da70a958%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment