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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find interpreter for pip hub #1867
Comments
I'm thinking this is related to Debian disabling global pip install but I want to make sure. |
I can't test this at this very moment, but if the following documentation example is correct: https://github.com/bazelbuild/rules_python/blob/main/examples/pip_parse/MODULE.bazel It stands out to me that in your code the use_extension takes a different parameter:
While in the example, the following label is being used:
|
Closing as it is more of a support question rather than a bug. |
If the following is wrong:
...then are the https://rules-python.readthedocs.io/en/stable/toolchains.html#root-modules docs wrong too? Those docs are also missing the initial (This actually took a while to debug since the error message did not make it obvious what the problem was.) |
馃悶 bug report
Affected Rule
Probably a missuse on my end but
pip.parse
Is this a regression?
No.
Description
When trying to use
rules_python
to fetch dependencies from Pypi with Bzlmod I'm running into this error message:馃敩 Minimal Reproduction
I am running Bazel into a Docker container which as base image as Ubuntu 22.04.
Dockerfile
:MODULE.bzl
:requirements.txt
:BUILD
:The text was updated successfully, but these errors were encountered: