Skip to content

Instantly share code, notes, and snippets.

@mdegat01
Created December 23, 2021 13:45
Show Gist options
  • Save mdegat01/46f182a2ff2b78ab8b0d01513f3908ec to your computer and use it in GitHub Desktop.
Save mdegat01/46f182a2ff2b78ab8b0d01513f3908ec to your computer and use it in GitHub Desktop.
Error when running `pip3 install -r requirements_test_all.txt -c homeassistant/package_constraints.txt`
ERROR: Cannot install -r requirements_test_all.txt (line 10), -r requirements_test_all.txt (line 128), -r requirements_test_all.txt (line 131), -r requirements_test_all.txt (line 165), -r requirements_test_all.txt (line 168), -r requirements_test_all.txt (line 171), -r requirements_test_all.txt (line 210), -r requirements_test_all.txt (line 222), -r requirements_test_all.txt (line 243), -r requirements_test_all.txt (line 27), -r requirements_test_all.txt (line 394), -r requirements_test_all.txt (line 415), -r requirements_test_all.txt (line 459), -r requirements_test_all.txt (line 492), -r requirements_test_all.txt (line 501) and -r requirements_test_all.txt (line 61) because these package versions have conflicting dependencies.
The conflict is caused by:
adax-local 0.1.1 depends on async-timeout>=1.4.0
pyrmvtransport 0.3.3 depends on async-timeout>=4.0.0
adax 0.2.0 depends on async-timeout>=3.0.0
aioguardian 2021.11.0 depends on async_timeout<5.0.0 and >=3.0.1
aioharmony 0.2.8 depends on async-timeout
aiopulse 0.4.3 depends on async-timeout
aiopvapi 1.6.19 depends on async-timeout
aiopvpc 2.2.4 depends on async_timeout>=3.0.1
airthings-cloud 0.1.0 depends on async-timeout>=3.0.0
ambiclimate 0.2.1 depends on async-timeout>=1.4.0
async-upnp-client 0.23.2 depends on async-timeout<5.0 and >=3.0
epson-projector 0.4.2 depends on async-timeout>=3.0.0
foobot-async 1.0.0 depends on async_timeout
glances-api 0.2.0 depends on async-timeout
ha-ffmpeg 3.0.2 depends on async-timeout
hangups 0.4.16 depends on async-timeout<4 and >=2
The user requested (constraint) async-timeout==4.0.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment