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

Upgrade bug #4212

Closed
maggot99999 opened this issue Jan 2, 2017 · 2 comments
Closed

Upgrade bug #4212

maggot99999 opened this issue Jan 2, 2017 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation C: encoding Related to text encoding and likely, UnicodeErrors

Comments

@maggot99999
Copy link

maggot99999 commented Jan 2, 2017

  • Pip version: 7.1.2
  • Python version: 3.5
  • Operating System: Windows 10 Pro

Description:

Collecting pip
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
    100% |################################| 1.3MB 214kB/s
Installing collected packages: pip
  Found existing installation: pip 7.1.2
Exception:
Traceback (most recent call last):
  File "C:\Users\Каспар\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\basecommand.py", line 211, in ma
in
    status = self.run(options, args)
  File "C:\Users\Каспар\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\commands\install.py", line 311,
in run
    root=options.root_path,
  File "C:\Users\Каспар\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\req\req_set.py", line 640, in in
stall
    requirement.uninstall(auto_confirm=True)
  File "C:\Users\Каспар\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\req\req_install.py", line 673, i
n uninstall
    for path in pip.wheel.uninstallation_paths(dist):
  File "C:\Users\Каспар\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\wheel.py", line 512, in unique
    for item in fn(*args, **kw):
  File "C:\Users\Каспар\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\wheel.py", line 531, in uninstal
lation_paths
    r = csv.reader(FakeFile(dist.get_metadata_lines('RECORD')))
  File "C:\Users\Каспар\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\_vendor\pkg_resources\__init__.p
y", line 1619, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "C:\Users\Каспар\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\_vendor\pkg_resources\__init__.p
y", line 1616, in get_metadata
    return self._get(self._fn(self.egg_info, name)).decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xca in position 22365: invalid continuation byte
You are using pip version 7.1.2, however version 9.0.1 is available.

This is how it looks like. I have russian letters in my Microsoft Account so I can't change it. So I don't know how to upgrade then. I think it suppose to simply upgrade the pip package but it gives these errors

image

What I've run:

python -m pip install --upgrade pip

@xavfernandez
Copy link
Member

Duplicate of #4003

@xavfernandez xavfernandez added the C: encoding Related to text encoding and likely, UnicodeErrors label Mar 24, 2017
@pfmoore
Copy link
Member

pfmoore commented May 27, 2017

This should now be fixed by #4486, which is now available in the development version of pip and will be released in pip 10. I am closing this issue, but if you are still able to reproduce the problem in the development version of pip, please reopen it with a description of now to replicate the issue.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: encoding Related to text encoding and likely, UnicodeErrors
Projects
None yet
Development

No branches or pull requests

3 participants