Pip install homeassistant: AttributeError: cython_sources, pyyaml 6.0


I was about to ask for help with pip installation but I found out. I’m still writing the post because the first answer I found wasn’t working. I did not need to install pyyaml 5.4.1, but rather pyyaml 6 as mentioned here

pip install "cython<3.0.0" && pip install --no-build-isolation pyyaml==6.0

Hope this help.

Thanks, this worked for me upgrading a python 3.11 virtual env. You rock!

1 Like