Closed kei1126 closed 8 months ago
aiohttp 3.8 doesn't support Python 3.12. Use the latest version.
Collecting aiohttp==3.9.3 Downloading aiohttp-3.9.3-cp312-cp312-win_amd64.whl.metadata (7.6 kB) Requirement already satisfied: aiosignal>=1.1.2 in c:\users\kei20\lib\site-packages (from aiohttp==3.9.3) (1.3.1) Requirement already satisfied: attrs>=17.3.0 in c:\users\kei20\lib\site-packages (from aiohttp==3.9.3) (23.2.0) Requirement already satisfied: frozenlist>=1.1.1 in c:\users\kei20\lib\site-packages (from aiohttp==3.9.3) (1.4.1) Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\kei20\lib\site-packages (from aiohttp==3.9.3) (6.0.5) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\kei20\lib\site-packages (from aiohttp==3.9.3) (1.9.4) Requirement already satisfied: idna>=2.0 in c:\users\kei20\lib\site-packages (from yarl<2.0,>=1.0->aiohttp==3.9.3) (3.6) Downloading aiohttp-3.9.3-cp312-cp312-win_amd64.whl (363 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 363.4/363.4 kB 3.8 MB/s eta 0:00:00 Installing collected packages: aiohttp Attempting uninstall: aiohttp Found existing installation: aiohttp 3.7.0b0 Uninstalling aiohttp-3.7.0b0: Successfully uninstalled aiohttp-3.7.0b0 Successfully installed aiohttp-3.9.3
C:\Users\kei20>pip install chess.com Collecting chess.com Using cached chess.com-2.1.0-py3-none-any.whl.metadata (4.0 kB) Collecting aiohttp==3.8.3 (from chess.com) Using cached aiohttp-3.8.3.tar.gz (7.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting requests==2.28.0 (from chess.com) Downloading requests-2.28.0-py3-none-any.whl.metadata (4.6 kB) Requirement already satisfied: attrs>=17.3.0 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (23.2.0) Collecting charset-normalizer<3.0,>=2.0 (from aiohttp==3.8.3->chess.com) Using cached charset_normalizer-2.1.1-py3-none-any.whl.metadata (11 kB) Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (6.0.5) Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp==3.8.3->chess.com) Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (1.9.4) Requirement already satisfied: frozenlist>=1.1.1 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (1.4.1) Requirement already satisfied: aiosignal>=1.1.2 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (1.3.1) Collecting charset-normalizer<3.0,>=2.0 (from aiohttp==3.8.3->chess.com) Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Requirement already satisfied: idna<4,>=2.5 in c:\users\kei20\lib\site-packages (from requests==2.28.0->chess.com) (3.6) Collecting urllib3<1.27,>=1.21.1 (from requests==2.28.0->chess.com) Using cached urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB) Requirement already satisfied: certifi>=2017.4.17 in c:\users\kei20\lib\site-packages (from requests==2.28.0->chess.com) (2024.2.2) Using cached chess.com-2.1.0-py3-none-any.whl (11 kB) Using cached requests-2.28.0-py3-none-any.whl (62 kB) Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Using cached urllib3-1.26.18-py2.py3-none-any.whl (143 kB) Building wheels for collected packages: aiohttp 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
I can`t solve if I did it
If another library sets an older incompatible version of aiohttp in their dependencies, you'll have to wait until they update it. It's not a problem with aiohttp but with what you install.
i.e. Register a bug with chess.com and ask them to stop pinning aiohttp (or update their version more frequently).
than you for telling me
Describe the bug
why I can`t install chess.com API
To Reproduce
C:\Users\kei20\Python>pip install chess.com Collecting chess.com Using cached chess.com-2.1.0-py3-none-any.whl.metadata (4.0 kB) Collecting aiohttp==3.8.3 (from chess.com) Using cached aiohttp-3.8.3.tar.gz (7.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting requests==2.28.0 (from chess.com) Using cached requests-2.28.0-py3-none-any.whl (62 kB) Requirement already satisfied: attrs>=17.3.0 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (23.2.0) Collecting charset-normalizer<3.0,>=2.0 (from aiohttp==3.8.3->chess.com) Using cached charset_normalizer-2.1.1-py3-none-any.whl.metadata (11 kB) Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (6.0.5) Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp==3.8.3->chess.com) Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (1.9.4) Requirement already satisfied: frozenlist>=1.1.1 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (1.4.1) Requirement already satisfied: aiosignal>=1.1.2 in c:\users\kei20\lib\site-packages (from aiohttp==3.8.3->chess.com) (1.3.1) Collecting charset-normalizer<3.0,>=2.0 (from aiohttp==3.8.3->chess.com) Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Requirement already satisfied: idna<4,>=2.5 in c:\users\kei20\lib\site-packages (from requests==2.28.0->chess.com) (3.6) Collecting urllib3<1.27,>=1.21.1 (from requests==2.28.0->chess.com) Using cached urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB) Requirement already satisfied: certifi>=2017.4.17 in c:\users\kei20\lib\site-packages (from requests==2.28.0->chess.com) (2024.2.2) Using cached chess.com-2.1.0-py3-none-any.whl (11 kB) Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Using cached urllib3-1.26.18-py2.py3-none-any.whl (143 kB) Building wheels for collected packages: aiohttp 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 ╰─> [110 lines 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: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects
Expected behavior
I want to API of chess.com
Logs/tracebacks
Python Version
aiohttp Version
multidict Version
yarl Version
OS
Windows
Related component
Server
Additional context
No response
Code of Conduct