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

Install of new release is failing #9932

Closed
tb102122 opened this issue May 1, 2021 · 1 comment
Closed

Install of new release is failing #9932

tb102122 opened this issue May 1, 2021 · 1 comment

Comments

@tb102122
Copy link

tb102122 commented May 1, 2021

There will likely be a release tonight, removing this warning for nearly all users, and demoting it to being a DEBUG message.

I'll unlock this sometime next week, since I imagine most folks will see this update sooner than later.

Originally posted by @pradyunsg in #9617 (comment)

the result is:

PS C:\WINDOWS\system32> pip install --upgrade pip
WARNING: Value for scheme.headers does not match. Please report this to #9617
distutils: c:\users\tobia\appdata\local\programs\python\python38\Include\UNKNOWN
sysconfig: c:\users\tobia\appdata\local\programs\python\python38\Include
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Requirement already satisfied: pip in c:\users\tobia\appdata\roaming\python\python38\site-packages (21.1)
Collecting pip
Using cached pip-21.1.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.1
Uninstalling pip-21.1:
Successfully uninstalled pip-21.1
Rolling back uninstall of pip
Moving to c:\users\tobia\appdata\roaming\python\python38\scripts\pip.exe
from C:\Users\tobia\AppData\Local\Temp\pip-uninstall-th98f3rj\pip.exe
Moving to c:\users\tobia\appdata\roaming\python\python38\scripts\pip3.8.exe
from C:\Users\tobia\AppData\Local\Temp\pip-uninstall-th98f3rj\pip3.8.exe
Moving to c:\users\tobia\appdata\roaming\python\python38\scripts\pip3.exe
from C:\Users\tobia\AppData\Local\Temp\pip-uninstall-th98f3rj\pip3.exe
Moving to c:\users\tobia\appdata\roaming\python\python38\site-packages\pip-21.1.dist-info
from C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages~ip-21.1.dist-info
Moving to c:\users\tobia\appdata\roaming\python\python38\site-packages\pip
from C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages~ip
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_internal\cli\base_command.py", line 180, in main
status = self.run(options, args)
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_internal\cli\req_command.py", line 204, in wrapper
return func(self, options, args)
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_internal\commands\install.py", line 393, in run
installed = install_given_reqs(
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_internal\req_init
.py", line 77, in install_given_reqs
requirement.install(
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_internal\req\req_install.py", line 782, in install
install_wheel(
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_internal\operations\install\wheel.py", line 810, in install_wheel
_install_wheel(
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_internal\operations\install\wheel.py", line 720, in _install_wheel
generated_console_scripts = maker.make_multiple(scripts_to_generate)
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_vendor\distlib\scripts.py", line 418, in make_multiple
filenames.extend(self.make(specification, options))
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_internal\operations\install\wheel.py", line 462, in make
return super().make(specification, options)
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_vendor\distlib\scripts.py", line 407, in make
self._make_script(entry, filenames, options=options)
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_vendor\distlib\scripts.py", line 307, in _make_script
self._write_script(scriptnames, shebang, script, filenames, ext)
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_vendor\distlib\scripts.py", line 242, in _write_script
launcher = self._get_launcher('t')
File "C:\Users\tobia\AppData\Roaming\Python\Python38\site-packages\pip_vendor\distlib\scripts.py", line 386, in _get_launcher
raise ValueError(msg)
ValueError: Unable to find resource t64.exe in package pip._vendor.distlib

@uranusjr
Copy link
Member

uranusjr commented May 1, 2021

pip install --upgrade pip

This destroys pip on Windows. See #8450 (comment)

@uranusjr uranusjr closed this as completed May 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants