Hi, trying to setup up a local development environment on a Windows machine. I have setup an Ubuntu instance via WSL 2
I have followed the Home Assistant guides: https://www.home-assistant.io/installation/windows/#install-home-assistant-core and https://developers.home-assistant.io/docs/development_environment/#developing-on-ubuntu--debian
After cloning a fork of the Core-repo and running the script/setup command I run into the attached error (during installation of the PyYAML dependency)
Things I have tried:
- I have tried to manually install the PyYAML depedency using:
python3 -m pip install PyYAML==5.4.1 - Tried running the following that I found worked for someone:
echo "cython<3" > /tmp/constraint.txt
PIP_CONSTRAINT=/tmp/constraint.txt pip install -r requirements.txt
Tried on two different WSL instances:
- Ubuntu instance with pyenv for upgrading to Python 3.13.1
- A brand new Ubuntu instance, using the default system Python 3.12.3 version