-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Pip does not work in poetry installation #9452
Comments
highly unlikely that poetry is at fault here, you'll likely have to figure out for yourself what's going wrong to get you started, poetry creates environments just by calling into virtualenv. I doubt that virtualenv is at fault either, but that's where the action happens. |
Thank you for your answer @dimbleby. When I do it with virtualenv, it works fine:
|
but either way: you're going to have to diagnose for yourself what is happening in a lot more detail than that if you want to make the case that poetry should be doing something different. This works for more or less everyone, so much the most likely explanation is that there's something unusual on your system, and you are the only one who can figure out what that is |
I have run into the same issue with nvidia-pyindex:
I think this should be the basis of a repro. |
It is not. Perhaps you left this comment in the wrong issue, it seems to have no connection with the original report? A dockerfile would be a good way to demonstrate a repro, if you have one. |
@dimbleby installing this dependency caused a failure in pip similar to the one in this issue, once I have time I can try to make full reproduction. |
Description
I am having issues when I try to run pre-commit hook but I noticed that the issue is in pip, when I create a new poetry project, the pip installation is broken (note that the pip's system installation works fine):
Workarounds
I have a workaround to fix the pip installation (upgrading it inside the venv) but pre-commit hook still fails because I don't have any way to update pip the poetry pe-commit hook.
Poetry Installation Method
install.python-poetry.org
Operating System
MacOS Sonoma 14.5
Poetry Version
Poetry (version 1.8.3)
Poetry Configuration
Python Sysconfig
No response
Example pyproject.toml
No response
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: