As of Python 3.3 virtual environments are builtin, it would be wise to get
used to them.

https://docs.python.org/3/library/venv.html

On Thu, Mar 5, 2020 at 4:57 PM 'MH' via Django users <
[email protected]> wrote:

> /volume1/@appstore/py3k/usr/local/bin$ ./pip install gunicorn
> Defaulting to user installation because normal site-packages is not
> writeable
> Requirement already satisfied: gunicorn in /volume1/homes/admin/.local/lib
> /python3.5/site-packages (20.0.4)
> Requirement already satisfied: setuptools>=3.0 in /volume1/@appstore/py3k/
> usr/local/lib/python3.5/site-packages (from gunicorn) (41.0.1)
>
> The output for this folder is identical for pip3 and pip 3.5.
>
> /usr/bin$ ./pip install gunicorn
> /usr/local/lib/python2.7/site-packages/cffi/model.py:526: UserWarning:
> 'point_conversion_form_t' has no values explicitly defined; next version
> will refuse to guess which integer type it is meant to be (unsigned/signed
> , int/long)
>   % self._get_c_name())
> DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
> Please upgrade your Python as Python 2.7 is no longer maintained. A
> future version of pip will drop support for Python 2.7. More details
> about Python 2 support in pip, can be found at https://
> pip.pypa.io/en/latest/development/release-process/#python-2-support
> Defaulting to user installation because normal site-packages is not
> writeable
> Collecting gunicorn
>   Downloading gunicorn-19.10.0-py2.py3-none-any.whl (113 kB)
>      |████████████████████████████████| 113 kB 1.4 MB/s
> Installing collected packages: gunicorn
> ERROR: Could not install packages due to an EnvironmentError: [Errno 13]
> Permission denied:
> '/usr/local/lib/python2.7/site-packages/gunicorn-19.10.0.dist-info'
> Check the permissions.
>
> and as root:
> /usr/bin# ./pip install gunicorn
> /usr/local/lib/python2.7/site-packages/cffi/model.py:526: UserWarning:
> 'point_conversion_form_t' has no values explicitly defined; next version
> will refuse to guess which integer type it is meant to be (unsigned/signed
> , int/long)
>   % self._get_c_name())
> DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
> Please upgrade your Python as Python 2.7 is no longer maintained. A
> future version of pip will drop support for Python 2.7. More details
> about Python 2 support in pip, can be found at https://
> pip.pypa.io/en/latest/development/release-process/#python-2-support
> Collecting gunicorn
>   Downloading gunicorn-19.10.0-py2.py3-none-any.whl (113 kB)
>      |████████████████████████████████| 113 kB 1.4 MB/s
> Installing collected packages: gunicorn
> Successfully installed gunicorn-19.10.0
>
> I will now try it again.
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/30b9b540-6224-4906-98f1-f0a3ff0ebb01%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/30b9b540-6224-4906-98f1-f0a3ff0ebb01%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFwtXp352iNvORHWxm1WJPdpL6dtJqkmS4aACbGtRJpUqByi8g%40mail.gmail.com.

Reply via email to