-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ImportError: pip is not installed #2649
Comments
It looks like bitstream makes the wrong assumption that pip is always installed. The venv created by PDM does not have pip installed, so it fails. The right thing to do is that bitstream starts listing pip as a build requirement (feel free to reach out to the maintainers). In the meantime, you can also install pip within your venv, or delete the venv and recreate it with |
I'm going to close this now since there's nothing actionable for PDM 🙂 |
I've tried both your suggestions, but neither works. The venv now contains pip
But the error remains exactly the same EDIT: It is indeed an error at the side of bitstream: boisgera/bitstream#29 Thanks for your quick response! |
Ah, sorry, you need to opt-out of isolation mode: |
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Initialize a new PDM project using defaults, then add bitstream as dependency
Actual behavior
Initing the project works just fine
Adding the bitstream dependency yields the error
Expected behavior
The dependency should install without issues
Environment Information
The text was updated successfully, but these errors were encountered: