Skip to content
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 scheme.headers does not match. #9989

Closed
1 task done
ghost opened this issue May 17, 2021 · 2 comments
Closed
1 task done

Value for scheme.headers does not match. #9989

ghost opened this issue May 17, 2021 · 2 comments
Labels
type: bug A confirmed bug or unintended behavior

Comments

@ghost
Copy link

ghost commented May 17, 2021

Description

I was installing a module when this popped up:
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617> distutils: c:\users\sande\appdata\local\programs\python\python38\Include\UNKNOWN sysconfig: c:\users\sande\appdata\local\programs\python\python38\Include WARNING: Additional context: user = False home = None root = None prefix = None

I told me to report the bug here, so I did

Pls fix it, I guess?

Expected behavior

I expected it to just show: Requirement already satisfied , as it was a bug in pycharm that has an easy fix. I still tried it in case I had uninstalled it at some point

pip version

21.1.1

Python version

3.8.6

OS

Windows

How to Reproduce

No idea

Just ran:
pip install openpyxl

so, ya

Output

WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: c:\users\sande\appdata\local\programs\python\python38\Include\UNKNOWN
sysconfig: c:\users\sande\appdata\local\programs\python\python38\Include
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Requirement already satisfied: openpyxl in c:\users\sande\appdata\local\programs\python\python38\lib\site-packages (3.0.5)
Requirement already satisfied: et-xmlfile in c:\users\sande\appdata\local\programs\python\python38\lib\site-packages (from openpyxl) (1.0.1)
Requirement already satisfied: jdcal in c:\users\sande\appdata\local\programs\python\python38\lib\site-packages (from openpyxl) (1.4.1)
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: c:\users\sande\appdata\local\programs\python\python38\Include\UNKNOWN
sysconfig: c:\users\sande\appdata\local\programs\python\python38\Include
WARNING: Additional context:
user = False
home = None
root = None
prefix = None

Code of Conduct

@ghost ghost added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels May 17, 2021
@Jarmos-san
Copy link

Related to #9617.

@PyGamerViharo you can refer to this thread on StackOverflow for more information. Based on #9617 (comment), it appears there's a PR with a fix on Windows.

Possible solutions as provided by @pradyunsg in the StackOverflow thread are:

  • Lower logging level from WARNING to DEBUG if you're on Pip v21.1.1.
  • Or install an older v21.0.1.

@pradyunsg
Copy link
Member

Please see #9617.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2021
@pradyunsg pradyunsg removed the S: needs triage Issues/PRs that need to be triaged label Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants