I’m trying to upgrade out of version 58.1. “pip install --upgrade homeassistant” starts downloading some files, then errors with:
Using cached https://files.pythonhosted.org/packages/70/27/6098b4b60a3302a97f8
ec97eb85d42f55a2fa904da4a369235a8e3b84352/aiohttp-3.4.4.tar.gz
Exception:
Traceback (most recent call last):
File “c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip_vendor\pkg_resources_init_.py”, line 2577, in _dep_map
return self._dep_map
File "c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip_vendor\pkg_resources_init.py", line 2652, in getattr
raise AttributeError(attr)
AttributeError: _Distribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip\basecommand.py”, line 211, in main
status = self.run(options, args)
File “c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip\commands\install.py”, line 305, in run
wb.build(autobuilding=True)
File “c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip\wheel.py”, line 705, in build
self.requirement_set.prepare_files(self.finder)
File “c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py”, line 334, in prepare_files
functools.partial(self._prepare_file, finder))
File “c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py”, line 321, in walk_req_to_install
more_reqs = handler(req_to_install)
File “c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py”, line 561, in prepare_file
set(req_to_install.extras) - set(dist.extras)
File "c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip_vendor\pkg_resources_init.py", line 2774, in extras
return [dep for dep in self.dep_map if dep]
File "c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip_vendor\pkg_resources_init.py", line 2591, in dep_map
dm.setdefault(extra,[]).extend(parse_requirements(reqs))
File "c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip_vendor\pkg_resources_init.py", line 2924, in parse_requirements
“version spec”)
File "c:\users\admin.home.hoverscope\appdata\local\programs\python\python36-32\lib\site-packages\pip_vendor\pkg_resources_init.py", line 2900, in scan_list
raise RequirementParseError(msg, line, “at”, line[p:])
pip._vendor.pkg_resources.RequirementParseError: Expected ‘,’ or end-of-list inidna-ssl>=1.0; python_version<“3.7” at ; python_version<“3.7”
You are using pip version 7.1.2, however version 18.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
I’m on Python 3.6.1, BTW.
Any idea what’s going on? Is PIP too far out of date? Problem is, when I try to upgrade it, I get other errors. Let me know if it would be relevant to post that error as well.