Hi, I tried to update my prefect to 2.13.6 ended a...
# ask-community
a
Hi, I tried to update my prefect to 2.13.6 ended and up with the following error when updating:
Copy code
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 5.3.3 requires pyqt5<5.16, which is not installed.
spyder 5.3.3 requires pyqtwebengine<5.16, which is not installed.
fastapi 0.95.1 requires starlette<0.27.0,>=0.26.1, but you have starlette 0.27.0 which is incompatible.
I tried to resolve this manually, but when changing the starlette version to a compatible version I got this error:
Copy code
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
prefect 2.13.6 requires starlette<0.28.0,>=0.27.0, but you have starlette 0.26.1 which is incompatible.
Is there a way to resolve this dependency discrepancy? I'm now confused which version of starlette is needed for prefect and cannot run any prefect flows because of the versioning conflict
a
Hey @Amy McClurg if you’re okay pip freezing, what’s your requirements.txt look like?
p
I just got this problem too. I ended up explicitly uninstalling starlette and then uninstalling fastapi (which also used starlette), then I installed prefect again and starlette, and this time it liked being installed and all’s OK.
1
🙌 1