Python 3.8 Installed, yet Django 1.11 is Automatically Being Installed on Mac

167 views
Skip to first unread message

arhoon io

unread,
Jun 9, 2020, 3:06:08 AM6/9/20
to Django users
Hello,

I have installed and successfully confirmed that Python 3.8 works on my Mac.  However, when I pip installed the latest version of Django, it automatically installed Django 1.11 even though I have Python 3.8.

When typing in "python" into terminal, it runs Python 2.7 - so that is my guess. 

If that is true, how do I get the actual latest version of Django (3.0)?

Thanks

Thomas Lockhart

unread,
Jun 9, 2020, 3:08:53 AM6/9/20
to django...@googlegroups.com
virtualenv or (probably even better) conda (Anaconda) will be easier environments to manage. I know that MacPorts will also have the packages you’ll need.

hth

- Tom

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d02c23bd-0c04-47c1-8602-63c74e35e144o%40googlegroups.com.

JEGATHEESWARAN SUNDARAVADIVEL

unread,
Jun 9, 2020, 3:14:18 AM6/9/20
to django...@googlegroups.com
Hi
You can give a try like this, 
python3 -m virtualenv environmentname

They , pip3 install django 

Thanks and regards,
Jegatheeswaran 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d02c23bd-0c04-47c1-8602-63c74e35e144o%40googlegroups.com.
--
JAGATHEESWARAN

carlos

unread,
Jun 9, 2020, 3:23:29 AM6/9/20
to django...@googlegroups.com

Alexander Neilson

unread,
Jun 9, 2020, 3:28:16 AM6/9/20
to django...@googlegroups.com
Are you installing Django with “pip install django” or “pip3 install django”? 

Try the pip3 version and use python3 to run python as it sounds like your python2 install is using the “unversioned” names. 

Regards
Alexander

Alexander Neilson
Neilson Productions Limited
021 329 681

--

Clive Bruton

unread,
Jun 9, 2020, 7:35:04 PM6/9/20
to django...@googlegroups.com
You have to use the correct python install:

python3 -m pip install django

You can test your versions and locations:

which python3
which python

python3 -V
python -V

When you are running the development server:

python3 manage.py runserver

You can have multiple python versions installed, you just need to
understand which one you are addressing/using.


-- Clive

arhoon io

unread,
Jun 9, 2020, 8:09:04 PM6/9/20
to Django users
Thank you all - I downloaded Django 3.0 using Anaconda.
> send an email to django...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages