Comments (3)
Same problem, even after installing Rust..
from hap-python.
I'm getting the same issue. I installed cryptography manually to install the twilio library and that worked fine (initially, the twilio install threw the same cryptography error, now it doesn't). In fact, when installing Hap-python[QRCode]
, just like 16 lines above "Collecting cryptography
", which causes the error, it says "Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from HAP-python[QRCode]) (3.3.2)
".
I don't understand why it's trying to install it again if the requirement is already satisfied.
And I do not want to manually build using rust.
One weird thing I noticed, in the details of the error it says "n/a" for pip. My pip version is:
pip 22.3.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)
System Info from error:
Python: 3.9.2
platform: Linux-5.15.76-v7+-armv7l-with-glibc2.31
pip: n/a
setuptools: 65.6.3
setuptools_rust: 1.5.2
rustc: n/a
EDIT:
Disclaimer: I don't know 100% of what I'm talking about, so take it with a grain of salt.
I noticed that this issue is caused by "piwheels". The link below shows that the build for 38.0.3 failed. I think this means there is no precompiled "wheel"(?) we can use to install. I manually installed 38.0.1 with pip install cryptography==38.0.1
and HAP-python was able to install successfully. I'm assuming HAP-python must have a requirement for cryptography to be greater than 3.4.6 even though the requirements.txt
doesn't specify a version.
https://www.piwheels.org/project/cryptography/
from hap-python.
Try to install on a clean system, but it hangs with" Building wheel for cryptography (pyproject.toml) ... /" and CPU = 100%
Following the instructions to update pip didn't help. Renew the system again, the install routine claims it need rust ..
python version is 3.9
reinstall older version works for me: pip install pip3 install --upgrade HAP-python[QRCode]==4.4
from hap-python.
Related Issues (20)
- use of `socket.inet_aton` prevents ipv6 initialization
- Is orjson supported on 32-bit Raspberian? HOT 7
- notify multiple HomeKit Apps when switch state has changed HOT 6
- Unresponsive Pairing - WireShark dump shows no connection HOT 1
- How to run multiple accessories in 1 process? HOT 2
- Upgrading version 4.4 to 4.5 or 4.6 on rasperian bullseye (armv7l) HOT 2
- cannot find accessory.state HOT 3
- Device not discoverable in home assistant after unpairing twice
- is where a chance to give a bridge a Name, Model, serial number etc? HOT 1
- Homekit shared home support? HOT 1
- Orjson, requires a 64-bit Python with>3.8.5+and<3.9 HOT 13
- Any chance to support Category.AUDIO_RECEIVER ?
- Dehumidifier simple with WaterLevel HOT 4
- Add Support For Camera 2-way Audio
- Best Approach to Integrate with Existing Pi Django Server HOT 1
- CATEGORY_LIGHTBULB configure_char('Brightness'... ValueError("Characteristic not found" HOT 1
- Support for customer locks? HOT 1
- Since Raspberry Pi OS Upgrade Accessory Resets to Unpaired when Restarted HOT 1
- Stopped working after upgrading to iOS 17 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hap-python.