Open jkr0103 opened 5 months ago
The externally-managed-environment
error message outlines your options, and only the virtualenv option applies here (since this is a library, not an application).
If your project needs a version of docker-py
other than that packaged by your distribution, use a virtualenv for your project.
I could not find the steps/documentation to build and install the
docker sdk for python
without usingpip
. I felt this requirement onUbuntu 24.04
where a simple script just having two lines doesn't wrok. client.py:start of client.py
import docker; client = docker.from_env()
end of client.py
Issue is described here and fixed in version 6.1.0 with PR 3116.
Ubuntu 24.04
have following versions ofpython3-requests
,python3-urllib3
andpython3-docker
packages:Installing
docker
usingpip
is not the option onUbuntu 24.04
:Hence I am left with no option except manually building and installing the package. I am looking for the steps to build and install it manually.
Also I would like to know the way to request Ubuntu 24.04 community to upgrade
python3-docker=5.0.3
topython3-docker>=6.1.0
where the compatibility issue withrequests
andurllib3
is fixed.