-
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
Assertion Error: assert not (home and prefix) #8438
Comments
It seems like |
Hi @Redcxx, I think that you're correct that |
Hi @McSinyx, I did not use
|
@McSinyx The https://github.com/pypa/pip/blob/20.2.2/src/pip/_internal/build_env.py#L176 The https://github.com/pypa/pip/blob/20.2.2/src/pip/_internal/configuration.py#L330-L332 It affects source (not wheel, supposedly) distribution packages. E.g.
|
But it works if
The closest alternatives are P.S. Make sure to set |
I'm getting a similar error too:
|
I had a similar issue and solved it with the sudo's -H flag: |
I had this problem now too while installing a local package like this:
pip 21.2.4 / python 3.9.7 |
I started having the same error on a raspberry pi and whatever I do doesn't seem to resolve the issue. I have tried uninstalling pip3 and python3, then reinstalling python3-pip with apt, which doesn't solve the issue. Where does this come from please? |
If you install pip from apt, this likely needs to be reported to apt, since the pip they distribute is configured differently. |
Answer 5 here corrected it for me. Some app had apparently added
in |
I was getting a similar error with pip 22.3 & Python 3.7.3 on Windows 10: The work around was to remove |
Yes, thank you very much! This is exactly what was needed.. When I was a beginner, I accidentally registered the installation location for the first project in the pip [global] configuration file.. I couldn't install libraries properly for about 2 months and used replit ahahah.. bruh (= |
Here is supposed fix #12744 |
This was fixed by #12744, so closing. |
Environment
PIP_CACHE_DIR = D:\Environments\Python\pip cache dir
PIP_TARGET = D:\Environments\Python\Lib\site-packages
Description
A weird error when I tried to install pyinstaller
Expected behavior
install normally
How to Reproduce
pip install pyinstaller
Output
The text was updated successfully, but these errors were encountered: