-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I am trying to install docker-pretty-ps on my freshly installed ubuntu 22.04.
I tried with pip and by building and installing.
Pip
installation went well
pip install docker-pretty-ps
Defaulting to user installation because normal site-packages is not writeable
Collecting docker-pretty-ps
Downloading docker_pretty_ps-1.0.2-py3-none-any.whl (13 kB)
Installing collected packages: docker-pretty-ps
Successfully installed docker-pretty-ps-1.0.2
but then when I try to run docker-pretty-ps I get
docker-pretty-ps: command not found
Build and install
python3 setup.py install
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/usr/local/lib/python3.10/dist-packages/test-easy-install-10115.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python3.10/dist-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://setuptools.pypa.io/en/latest/deprecated/easy_install.html
Please make the appropriate changes for your system and try again.
It is probably some stupid thing but I would like to get your help on this. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels