Not sure if applies but did you do this before installation
(If you’re on a Debian based system, you will need to install Python virtual environment support using apt-get install python3-pip python3-venv.)
homeassistant@HASS:/$ sudo apt install python3-pip python3-venv
[sudo] password for homeassistant:
Reading package lists… Done
Building dependency tree
Reading state information… Done
python3-pip is already the newest version (9.0.1-2).
python3-venv is already the newest version (3.6.4-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
homeassistant@HASS:/srv$ cd /srv/homeassistant
homeassistant@HASS:/srv/homeassistant$ python3 -m venv .
homeassistant@HASS:/srv/homeassistant$ source bin/activate
(homeassistant) homeassistant@HASS:/srv/homeassistant$ python3 -m pip install whee l
Collecting wheel
Exception:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/pip/basecommand.py”, line 2 15, in main
status = self.run(options, args)
File “/srv/homeassistant/lib/python3.6/site-packages/pip/commands/install.py”, l ine 353, in run
wb.build(autobuilding=True)
File “/srv/homeassistant/lib/python3.6/site-packages/pip/wheel.py”, line 749, in build
self.requirement_set.prepare_files(self.finder)
File “/srv/homeassistant/lib/python3.6/site-packages/pip/req/req_set.py”, line 3 80, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/srv/homeassistant/lib/python3.6/site-packages/pip/req/req_set.py”, line 5 54, in _prepare_file
require_hashes
File “/srv/homeassistant/lib/python3.6/site-packages/pip/req/req_install.py”, li ne 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File “/srv/homeassistant/lib/python3.6/site-packages/pip/index.py”, line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File “/srv/homeassistant/lib/python3.6/site-packages/pip/index.py”, line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File “/srv/homeassistant/lib/python3.6/site-packages/pip/index.py”, line 568, in _get_pages
page = self._get_page(location)
File “/srv/homeassistant/lib/python3.6/site-packages/pip/index.py”, line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File “/srv/homeassistant/lib/python3.6/site-packages/pip/index.py”, line 811, in get_page
inst = cls(resp.content, resp.url, resp.headers)
File “/srv/homeassistant/lib/python3.6/site-packages/pip/index.py”, line 731, in init
namespaceHTMLElements=False,
TypeError: parse() got an unexpected keyword argument ‘transport_encoding’
(homeassistant) homeassistant@HASS:/srv/homeassistant$ exit
Since I see wheel in pip packages I then try homeassistant and to no avail. The same error as above.
homeassistant@HASS:/$ python3 -m pip install --upgrade pip
Collecting pip
From cffi callback <function _verify_callback at 0x7fbf393a22f0>:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/OpenSSL/SSL.py”, line 313, in wrapper
_lib.X509_up_ref(x509)
AttributeError: module ‘lib’ has no attribute ‘X509_up_ref’
Could not find a version that satisfies the requirement pip (from versions: )
No matching distribution found for pip
I tried this, and it seems to complete then says to connect using https://ipaddress:8123… I put in my ip address but it doesn’t connect. Any ideas of what I did wrong? I can ping the ip.