Hi Phil,

This happens because you're trying to install Django system-wide and that
operation requires root (superuser) access.

The best way to install Django is to first create a virtualenv. That will
isolate the install directory from the system, so you can freely install
and uninstall any libraries without interfering with the system.

You can find more information here:
https://docs.python.org/3/library/venv.html

On Mon, Sep 3, 2018 at 2:35 PM, Phil Campaigne <philcampai...@gmail.com>
wrote:

> 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 django-users+unsubscr...@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/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.
>



-- 
*Julio Biason*, Sofware Engineer
*AZION*  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101 <callto:+555130838101>  |  Mobile: +55 51
<callto:+5551996209291>*99907 0554*

-- 
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+unsubscr...@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/CAEM7gE1YhtFf8EueqB5Rmori42HnYmOAiapJcy04bC52p0%3DLUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to