DorskFR / LeaguePyBot

A Python computer vision bot for League Of Legends
MIT License
65 stars 19 forks source link

I got this error, when I was trying to install requirements #7

Closed holyghost1 closed 3 years ago

holyghost1 commented 3 years ago

ERROR: Command errored out with exit status 1: command: 'c:\program files\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HOLYGHOST\AppData\Local\Temp\pip-install-cnqn7qr4\uvloop_d9249fc7b349496980efa38e9510a240\setup.py'"'"'; file='"'"'C:\Users\HOLYGHOST\AppData\Local\Temp\pip-install-cnqn7qr4\uvloop_d9249fc7b349496980efa38e9510a240\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\HOLYGHOST\AppData\Local\Temp\pip-pip-egg-info-em_qtgne' cwd: C:\Users\HOLYGHOST\AppData\Local\Temp\pip-install-cnqn7qr4\uvloop_d9249fc7b349496980efa38e9510a240\ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\HOLYGHOST\AppData\Local\Temp\pip-install-cnqn7qr4\uvloop_d9249fc7b349496980efa38e9510a240\setup.py", line 8, in raise RuntimeError('uvloop does not support Windows at the moment') RuntimeError: uvloop does not support Windows at the moment

WARNING: Discarding https://files.pythonhosted.org/packages/ab/d9/22bbffa8f8d7e075ccdb29e8134107adfb4710feb10039f9d357db8b589c/uvloop-0.16.0.tar.gz#sha256=f74bc20c7b67d1c27c72601c78cf95be99d5c2cdd4514502b4f3eb0933ff1228 (from https://pypi.org/simple/uvloop/) (requires-python:>=3.7). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement uvloop==0.16.0 (from versions: 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13, 0.4.14, 0.4.15, 0.4.16, 0.4.17, 0.4.18, 0.4.19, 0.4.20, 0.4.21, 0.4.22, 0.4.23, 0.4.24, 0.4.25, 0.4.26, 0.4.27, 0.4.28, 0.4.29, 0.4.30, 0.4.31, 0.4.32, 0.4.33, 0.4.34, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.6.0, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.12.0rc1, 0.12.0, 0.12.1, 0.12.2, 0.13.0rc1, 0.13.0, 0.14.0rc1, 0.14.0rc2, 0.14.0, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0) ERROR: No matching distribution found for uvloop==0.16.0

DorskFR commented 3 years ago

RuntimeError: uvloop does not support Windows at the moment

(requires-python:>=3.7). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I do not use windows but I would say:

If the latter:

  1. Remove uvloop from requirements.txt
  2. Remove uvloop import from main.py
  3. Remove uvloop.install() from main.py in the if __name__ == "__main__"
DorskFR commented 3 years ago

Close since I removed uvloop from the last update.