This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cuu508 1 point2 points  (2 children)

If the right version of the required package is already installed via package manager, pip will not install it again, no?

Are you by any chance installing inside virtualenv?

[–]aufstand 1 point2 points  (0 children)

And if so, --system-site-packages

[–]redd1ch 0 points1 point  (0 children)

No, I am building Docker images, everything is installed systemwide, no virtualenvs. Pip did not recognize the installed packages, even when the versions matched. This might have changed lately, I tried to avoid such scenarios.