FARM-FastAPI UVLOOP Windows Problem

python -m pip install --upgrade pip

ERROR: Command errored out with exit status 1:
command: ‘d:\programs\python\python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\SUBHAJ~1.PAT\AppData\Local\Temp\pip-install-5611n1gc\uvloop_a974861d62fd487c8fe444b701a01170\’"’"’; file=’"’"‘C:\Users\SUBHAJ~1.PAT\AppData\Local\Temp\pip-install-5611n1gc\uvloop_a974861d62fd487c8fe444b701a01170\’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base ‘C:\Users\SUBHAJ~1.PAT\AppData\Local\Temp\pip-pip-egg-info-j6dfg82l’
cwd: C:\Users\SUBHAJ~1.PAT\AppData\Local\Temp\pip-install-5611n1gc\uvloop_a974861d62fd487c8fe444b701a01170
Complete output (5 lines):
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\SUBHAJ~1.PAT\AppData\Local\Temp\pip-install-5611n1gc\uvloop_a974861d62fd487c8fe444b701a01170\”, line 15, in
raise RuntimeError(‘uvloop does not support Windows at the moment’)
RuntimeError: uvloop does not support Windows at the moment

ERROR: Could not find a version that satisfies the requirement uvloop==0.14.0
ERROR: No matching distribution found for uvloop==0.14.0

Hi @Suvo_Pathak,

Thanks for the feedback! It looks like Aaron, the post’s author, has used pip-tools to pin all the dependencies - but they’ve been pinned based on his UNIX-based install, including uvloop, which doesn’t run on Windows.

I’ve updated the requirements.txt, so if you could git pull the latest changes to the FARM-Intro project and run pip install -r requirements.txt again, I think it should work this time.


1 Like