Hi Phil,
As suggested by other posters, creating a virtualenv is the safest way to work with Python, since it avoids tampering with the system level installation (f.i. several Linux distros use Python for a lot of their system tools in nowadays versions) and it lets you have customized environments per project (or projects group) not interfering with other ones. A solution exists one step higher, which allows you to have several different versions of Python (not only 2 and 3, but 2.x, 2.y, 3.z,...) alongside and select which one a given project uses. It's name is pyenv, and it can be found here : https://github.com/pyenv/pyenv In addition to managing different versions of Python on the same system, you can also create virtualenvs attached to them, as you would do with a standard Python installation. And of course, everything runs in user space, so no need for sudo or admin rights. Plus some goodies such as automatically selecting the right pyenv (i.e. Python version plus virtualenv) when you cd to a directory, if a ".python-version" file containing its name exists in it or in one of its ancestors. Have a look to the Web page referenced above for more detail. I work on various projects targeting systems or Docker containers with different Python versions, and the pyenv+virtualenv way is the easiest and most comfortable I've ever used. Best. Eric ________________________________ From: [email protected] <[email protected]> on behalf of Phil Campaigne <[email protected]> Sent: Monday, September 3, 2018 7:35:09 PM To: Django users Subject: Trouble installing Django I have successfully installed python 3.7 and virtualenv. on my MACBook Pro with MAC High Sierra 10.6 Now I am having trouble installing Django I don't understand the error message I am getting...especially teh last line. Owners-MacBook-Pro:realityBB owner$ pip install Django Collecting Django Downloading https://files.pythonhosted.org/packages/f8/1c/31112c778b7a56ce18e3fff5e8915719fbe1cd3476c1eef557dddacfac8b/Django-1.11.15-py2.py3-none-any.whl (6.9MB) 100% |████████████████████████████████| 7.0MB 2.2MB/s Requirement already satisfied: pytz in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from Django) (2013.7) Installing collected packages: Django Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/Django-1.11.15.dist-info' Consider using the `--user` option or check the permissions. -- 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 [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. 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/2d82fa91-1cd0-4a16-9ebd-568e7aeb8b2e%40googlegroups.com<https://groups.google.com/d/msgid/django-users/2d82fa91-1cd0-4a16-9ebd-568e7aeb8b2e%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 [email protected]. To post to this group, send email to [email protected]. 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/AM6P193MB0421D1F73770EFB6290AD4668C030%40AM6P193MB0421.EURP193.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.

