nickpadd / EuropeanFootballLeaguePredictor

A machine learning/statistical model to derive prediction probabilities for football matches of the top european leagues.
https://nickpadd.github.io/EuropeanFootballLeaguePredictor/Home.html
MIT License
31 stars 5 forks source link

ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (aiohttp) when i install understat #80

Open awarenessaspie opened 20 hours ago

awarenessaspie commented 20 hours ago

Building wheel for aiohttp (pyproject.toml) ... error   error: subprocess-exited-with-error

  × Building wheel for aiohttp (pyproject.toml) did not run successfully.   │ exit code: 1   ╰─> [92 lines of output]             Accelerated build             running bdist_wheel       running build       running build_py       creating build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\abc.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\base_protocol.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\client.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\client_exceptions.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\client_proto.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\client_reqrep.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\client_ws.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\connector.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\cookiejar.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\formdata.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\hdrs.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\helpers.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\http.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\http_exceptions.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\http_parser.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\http_websocket.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\http_writer.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\locks.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\log.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\multipart.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\payload.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\payload_streamer.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\pytest_plugin.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\resolver.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\streams.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\tcp_helpers.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\test_utils.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\tracing.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\typedefs.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_app.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_exceptions.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_fileresponse.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_log.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_middlewares.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_protocol.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_request.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_response.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_routedef.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_runner.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_server.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_urldispatcher.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\web_ws.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\worker.py -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp__init__.py -> build\lib.win-amd64-cpython-312\aiohttp       running egg_info       writing aiohttp.egg-info\PKG-INFO       writing dependency_links to aiohttp.egg-info\dependency_links.txt       writing requirements to aiohttp.egg-info\requires.txt       writing top-level names to aiohttp.egg-info\top_level.txt       reading manifest file 'aiohttp.egg-info\SOURCES.txt'       reading manifest template 'MANIFEST.in'       warning: no files found matching 'aiohttp' anywhere in distribution       warning: no previously-included files matching '.pyc' found anywhere in distribution       warning: no previously-included files matching '.pyd' found anywhere in distribution       warning: no previously-included files matching '.so' found anywhere in distribution       warning: no previously-included files matching '.lib' found anywhere in distribution       warning: no previously-included files matching '.dll' found anywhere in distribution       warning: no previously-included files matching '.a' found anywhere in distribution       warning: no previously-included files matching '.obj' found anywhere in distribution       warning: no previously-included files found matching 'aiohttp\.html'       no previously-included directories found matching 'docs_build'       adding license file 'LICENSE.txt'       writing manifest file 'aiohttp.egg-info\SOURCES.txt'       copying aiohttp_cparser.pxd -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp_find_header.pxd -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp_headers.pxi -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp_helpers.pyi -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp_helpers.pyx -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp_http_parser.pyx -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp_http_writer.pyx -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp_websocket.pyx -> build\lib.win-amd64-cpython-312\aiohttp       copying aiohttp\py.typed -> build\lib.win-amd64-cpython-312\aiohttp       creating build\lib.win-amd64-cpython-312\aiohttp.hash       copying aiohttp.hash_cparser.pxd.hash -> build\lib.win-amd64-cpython-312\aiohttp.hash       copying aiohttp.hash_find_header.pxd.hash -> build\lib.win-amd64-cpython-312\aiohttp.hash       copying aiohttp.hash_helpers.pyi.hash -> build\lib.win-amd64-cpython-312\aiohttp.hash       copying aiohttp.hash_helpers.pyx.hash -> build\lib.win-amd64-cpython-312\aiohttp.hash       copying aiohttp.hash_http_parser.pyx.hash -> build\lib.win-amd64-cpython-312\aiohttp.hash       copying aiohttp.hash_http_writer.pyx.hash -> build\lib.win-amd64-cpython-312\aiohttp.hash       copying aiohttp.hash_websocket.pyx.hash -> build\lib.win-amd64-cpython-312\aiohttp.hash       copying aiohttp.hash\hdrs.py.hash -> build\lib.win-amd64-cpython-312\aiohttp.hash       running build_ext       building 'aiohttp._websocket' extension       error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/       [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.   ERROR: Failed building wheel for aiohttp Failed to build aiohttp ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (aiohttp) I get this error and I have tried everything but I can't avoid this error.

nickpadd commented 15 hours ago

@awarenessaspie This seems to be an issue I also was running on. I specified the python version so as to avoid it. Please use Python 3.10 and try rebuilding the project from scratch. Let me know if it is ok!

awarenessaspie commented 13 hours ago

installation is successful but it shows old matches.

nickpadd commented 13 hours ago

You first have to run the script that updates for the upcoming matches: python run_updates.py

And then run the predictions script: python run_predictions.py

awarenessaspie commented 12 hours ago

image The result is the same again. I guess it would be the same if I played the matches with your website.