Tuesday, April 30, 2019

Re: Troubling installing Python 3 on my iMac

I guess you installed Python3.7.2 or similar

If so you can call it in a terminal with python3 not just python. Open a terminal and type python3 it should start
python 7.n is the operating system version.
It is important to use pip3 and  use virtualenv to create the python 3 environment.

use pip3 to install django in your environment.
When you look at tutorials in google or other specify python3 and >2018 so you don't get out of date tutorials of which there are hundreds.

Cheers
Roger

On 30/4/19 1:17 pm, James wrote:
I downloaded the file from the python website and went through the entire installation process... accepting all of the default values.  However, when I went to my Terminal window and typed python, it still shows the older version:

Python 2.7.10 (default, Feb 22 2019, 21:17:52) 

[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin


What did I do wrong?  I need to get this all setup before I can start the Django tutorial.

Thank you!

--
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/d4a9335d-5067-4620-882e-e10a6d04dbcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment