Use pip3 install django==2.01 You can use python 2.7 and python3 I use pip3 for installation of Django in python 3
Verstuurd vanaf mijn iPhone > Op 3 sep. 2018 om 19:35 heeft Phil Campaigne <[email protected]> het > volgende geschreven: > > 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]. > 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/2d82fa91-1cd0-4a16-9ebd-568e7aeb8b2e%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 [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/3697C54B-F7A5-49DF-9978-C50505A49C1C%40gmail.com. For more options, visit https://groups.google.com/d/optout.

