-
Notifications
You must be signed in to change notification settings - Fork 2.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
ModuleNotFoundError: No module named 'pip' when adding ksql #6880
Comments
Poetry is not pip, and much of Poetry's richness comes from it not being pip. As you can see, you can reproduce the error with the command Poetry uses, and it's not actually Poetry or Pip's fault. Instead, the project you are trying to install has an undeclared build-time dependency on pip, and needs to declare it as such: Typically this is solved with the deprecated Let me know if anything is unclear and I can dig up similar issues to show you how it was resolved with other projects. |
I created bryanyang0528/ksql-python#117 for you! |
Thank you! I appreciate the time you took on addressing my issue. I suppose, my follow up question would be if there is any recommendations on what to do or work arounds before the issue gets fixed on their end. Anyways, thanks again. |
The trivial fix is to create a temporary fork and depend on that with a URL or VCS dependency. You can even send a patch upstream, and depend on your pull request branch, if you want. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
Poetry fails when installing the
ksql
package (poetry add ksql
) with the following error:Now, I know it seems like the issue is with PIP, since when I execute the command:
The same error shows.
However, when executing a traditional
pip install ksql
it installs without any issue.Now my question is, why does Poetry try to install from its caches and not reproduce the behaviour of plain pip?
The text was updated successfully, but these errors were encountered: