-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError: Egg-link {path} does not match installed location of {package} #4466
Comments
I think this issue should be closed. |
Use |
Since The command I recommend is
I agree with pip’s current approach to be safe and not aggressively remove the broken link. This is ultimately an environment problem that is best handled by the user. The error message has room for improvement, but that’s better filed as a separate enhancement issue IMO. |
Description:
I have installed an editable package into
/opt/django-dynamic-fixture
(PIP_SRC=/opt
) when building a Docker image. When I run a container with this image, we setPYTHONUSERBASE=$PROJECT_DIR/var/src
so we can dopip install --user ...
and:The reason 2. above is important is the existing packages are in an ephemeral and possibly read only file system when the Docker container runs.
This works fine with
pip<9.0.0
but no longer works with9.0.0
and9.0.1
.Here's the error:
This seems to be a regression, as the docs linked above still indicate existing packages should be ignored (not uninstalled).
The text was updated successfully, but these errors were encountered: