Open zbz0425 opened 1 year ago
/termux-home-assistant-installer $ pip install pyyaml==6.0.1
Requirement already satisfied: pyyaml==6.0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (6.0.1)
/termux-home-assistant-installer $ pip list
Package Version
|------------------ -------
aiohttp 3.8.5
aiohttp-cors 0.7.0
aiosignal 1.3.1
async-timeout 4.0.3
attrs 23.1.0
cffi 1.16.0
charset-normalizer 3.3.0
cryptography 41.0.4
Cython 3.0.3
Cython is installed
echo "cython<3.0" >> c.txt
PIP_CONSTRAINT=c.txt pip install pyyaml==6.0
Having same problem how to fix it Instructions please
Having same problem how to fix it Instructions please
I have the same problem with pyyaml == 6.0. So i specified as a newer version 6.0.1. It works.
~/termux-home-assistant-installer $ pip install pyyaml==6.0
Collecting pyyaml==6.0
Using cached PyYAML-6.0.tar.gz (124 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.", line 204, in get_source_files
File "/data/data/com.termux/files/usr/tmp/pip-build-env-e46w33xd/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in getattr
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]
│ exit code: 1
╰─> [54 lines of output]
running egg_info
writing lib/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.