-
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
“Value for [key] does not match” warnings in pip 21.2 #10151
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
While installing requirements.txt for a Django project I am getting this warning.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Python 3.8.11 on Cygwin (
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
pip 21.2.3 from /usr/lib/python3.9/site-packages/pip (python 3.9)
|
I am working in Pycharm Professional on linux distro Pop!_OS I am having issues using the "Install requirements from Pipfile.lock" feature in the IDE. It is saying certain package requirements are not satisfied. I then attempted to install the exact packages and version numbers using pip install via the builtin terminal in pycharm pro and it said "bash: pip: command not found". Then I wanted to make sure pip was installed so I followed the steps located here: pip documentation 22.2.1 - Installation as you can see in the first line of the code. Finally, I am here reporting because the code asked me to. hip hip hooray!
Additional system specs if it matters
|
Installing collected packages: setuptools, pip |
MacOS 12.5.1 using system python3 fails to perform an user level install even if that was explicitly asked. Logs at https://gist.github.com/ssbarnea/a89a88481fe5bdaa90f46b4f8341ba8e Out package is using PEP-517, and no longer has a setup.py file, but still we can see misleading errors like the first line from here:
|
AlmaLinux 9 WARNING: Value for scheme.platlib does not match. Please report this to #10151 |
Running at Linux release-ali-billing-data 5.10.0-18-cloud-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux.
Warning message
|
WARNING: Value for scheme.headers does not match. Please report this to #10151 result from running at this point Now build the Python 3.10 source using this command: https://brightwhiz.com/how-to-install-python-3-10-on-centos-7-centos-8-linux-systems/ |
$ pip debug
|
WARNING: Value for scheme.headers does not match. Please report this to #10151 |
|
Python 3.9.10
pip debug was giving "pip" command not found after : python get-pip.py
pip debug :
|
Not sure whether and which context information is useful. |
|
I think I have a follow-up on this (can't comment on #10668 as it's locked). First, AFAICT the offending However currently any 'user' install will install into I did some debugging and it seems this happens in
while earlier on in the code ( N.b.: the issue also appears when doing a regular pip debug:
|
Got the error; Rocky Linux 9.1 (Installed from "DVD" iso - Server with GUI install)
|
Output of 'pip debug':
|
system pip on oracle linux 9 docker. error |
Output of 'pip debug':
Error output:
|
On Raspberry Pi B+ WARNING: Value for scheme.headers does not match. Please report this to #10151 |
On an old CentOS system, compiling Python as a limited service user. Output of 'pip debug':
Error output:
|
Updating my Raspberry Pi 4 WARNING: Value for scheme.headers does not match. Please report this to #10151 |
|
AH, great point Marijan. I did run it as root. I will run again using sudo
and see if the issue happens again. I expect it will not.
I appreciate you and your timely reply
Stryker Cain
…On Tue, Jan 31, 2023 at 4:05 AM Marijan Smetko ***@***.***> wrote:
WARNING: Value for scheme.platlib does not match. Please report this to <#10151>
distutils: /usr/local/lib/python3.8/dist-packages
sysconfig: /usr/lib/python3.8/site-packages
WARNING: Value for scheme.purelib does not match. Please report this to <#10151>
distutils: /usr/local/lib/python3.8/dist-packages
sysconfig: /usr/lib/python3.8/site-packages
WARNING: Value for scheme.headers does not match. Please report this to <#10151>
distutils: /usr/local/include/python3.8/UNKNOWN
sysconfig: /usr/include/python3.8/UNKNOWN
WARNING: Value for scheme.scripts does not match. Please report this to <#10151>
distutils: /usr/local/bin
sysconfig: /usr/bin
WARNING: Value for scheme.data does not match. Please report this to <#10151>
distutils: /usr/local
sysconfig: /usr
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
WARNING: Value for scheme.headers does not match. Please report this to <#10151>
distutils: /usr/local/include/python3.8/pytz
sysconfig: /usr/include/python3.8/pytz
WARNING: Value for scheme.headers does not match. Please report this to <#10151>
distutils: /usr/local/include/python3.8/python-dateutil
sysconfig: /usr/include/python3.8/python-dateutil
WARNING: Value for scheme.headers does not match. Please report this to <#10151>
distutils: /usr/local/include/python3.8/numpy
sysconfig: /usr/include/python3.8/numpy
WARNING: Value for scheme.headers does not match. Please report this to <#10151>
distutils: /usr/local/include/python3.8/pip
sysconfig: /usr/include/python3.8/pip
WARNING: Value for scheme.headers does not match. Please report this to <#10151>
distutils: /usr/local/include/python3.8/pandas
sysconfig: /usr/include/python3.8/pandas
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
—
Reply to this email directly, view it on GitHub
<#10151 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKTRQBB6FYYTU4SV444ULI3WVDIXNANCNFSM5ADXKO4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Closing this out given that the reports were getting now are all from reporters who haven't read the issue description. Thanks everyone for providing the information that you have provided here! |
This is spun off #9617 to aggregate user feedback for another round of pip’s location backend switch from
distutils
tosysconfig
. If you find yourself seeing something like:What you need to do?
Please:
```
) like the above format.Additional information for those interested:
_PIP_LOCATIONS_NO_WARN_ON_MISMATCH=1
environment variable to suppress this warning. The message will only be visible withpip -vv
(and to stdout instead of stderr) with this flag set.The text was updated successfully, but these errors were encountered: