python:3.8
does not include /usr/lib/python3/dist-packages
in sys.path
#482
Labels
question
Usability question, not directly related to an error with the image
The following Dockerfile fails with
ModuleNotFoundError
:Adding
ENV PYTHONPATH=/usr/lib/python3/dist-packages
before thepython3
command will make it run smoothly. So it ignores libraries installed byapt
, which is e.g. essential forpygit2
, which cannot be reasonable installed withpip
/pip3
.The text was updated successfully, but these errors were encountered: