Closed sweebee closed 5 years ago
It seem that you can 't build the wheel of cryptography on your system. Try to install it manually. Check for the right architecture on https://pypi.org/project/cryptography/#files
$ pip install cryptography-2.6.1-....whl
Tried that but i get Requirement already satisfied
I get the same problem when trying a fresh install of HA on RPi 3B+ with a USB connected SSD. Upgrade to 0.92 worked well earlier today when I upgraded the SD card installation, but fresh install on the SSD does not work.
Have run pip install --upgrade pip
(it appears pip version 19.1 is required), pip install pep517
(result OK) and finally pip install cryptography
, but the cryptography installation fails with the final error message: ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
.
$ sudo apt-get install libssl-dev
and then
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ pip3 install homeassistant
resulted in successful instatllation of HA.
Credit: https://community.home-assistant.io/t/cant-update-to-0-92-on-a-venv-errors-on-cryptography/113052/2
Thanks! its still installing but going further now. Looks like its going to work now.
Home Assistant release with the issue:
0.92.0
Last working Home Assistant release (if known): 0.91.4
Operating environment (Hass.io/Docker/Windows/etc.):
manual installation raspberry pi. Previous updates worked fine, this one doesn't.
Description of problem: Can't upgrade to newer home assistant version. Getting following error when upgrading.
Traceback (if applicable):