Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 can't build wheels for aiohttp #7739

Closed
1 task done
guanciottaman opened this issue Oct 21, 2023 · 25 comments · Fixed by beastmatser/aiopokeapi#81
Closed
1 task done

Python 3.12 can't build wheels for aiohttp #7739

guanciottaman opened this issue Oct 21, 2023 · 25 comments · Fixed by beastmatser/aiopokeapi#81
Labels

Comments

@guanciottaman
Copy link

Describe the bug

So, I have just upgraded to Python 3.12 and I tried to install aiohttp as usual (py -m pip install aiohttp). The full output is down below.

Searching online, I only found the answer to downgrade to Python 3.11. They were from dates when Python 3.12 wasn't already released so, is there now a way to install pyproject.toml based packages?

To Reproduce

  1. Use Python 3.12 as your interpreter
  2. Try install aiohttp (or any other pyproject.toml based package) by pip install aiohttp

Expected behavior

Installing aiohttp on my machine

Logs/tracebacks

Using cached aiohttp-3.8.6.tar.gz (7.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: attrs>=17.3.0 in c:\users\guanciottaman\appdata\local\programs\python\python312\lib\site-packages (from aiohttp) (23.1.0)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in c:\users\guanciottaman\appdata\local\programs\python\python312\lib\site-packages (from aiohttp) (3.3.0)
Collecting multidict<7.0,>=4.5 (from aiohttp)
  Using cached multidict-6.0.4-cp312-cp312-win_amd64.whl
Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp)
  Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp)
  Using cached yarl-1.9.2-cp312-cp312-win_amd64.whl
Collecting frozenlist>=1.1.1 (from aiohttp)
  Using cached frozenlist-1.4.0-cp312-cp312-win_amd64.whl
Collecting aiosignal>=1.1.2 (from aiohttp)
  Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Requirement already satisfied: idna>=2.0 in c:\users\guanciottaman\appdata\local\programs\python\python312\lib\site-packages (from yarl<2.0,>=1.0->aiohttp) (3.4)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 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]
      *********************
      * Accelerated build *
      *********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      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
      creating build\temp.win-amd64-cpython-312
      creating build\temp.win-amd64-cpython-312\Release
      creating build\temp.win-amd64-cpython-312\Release\aiohttp
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\guanciottaman\AppData\Local\Programs\Python\Python312\include -IC:\Users\guanciottaman\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcaiohttp/_websocket.c /Fobuild\temp.win-amd64-cpython-312\Release\aiohttp/_websocket.obj
      _websocket.c
      aiohttp/_websocket.c(1475): warning C4996: 'Py_OptimizeFlag': deprecated in 3.12
      aiohttp/_websocket.c(3042): error C2039: 'ob_digit': non Š un membro di '_longobject'
      C:\Users\guanciottaman\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: vedere la dichiarazione di '_longobject'
      aiohttp/_websocket.c(3097): error C2039: 'ob_digit': non Š un membro di '_longobject'
      C:\Users\guanciottaman\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: vedere la dichiarazione di '_longobject'
      aiohttp/_websocket.c(3238): error C2039: 'ob_digit': non Š un membro di '_longobject'
      C:\Users\guanciottaman\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: vedere la dichiarazione di '_longobject'
      aiohttp/_websocket.c(3293): error C2039: 'ob_digit': non Š un membro di '_longobject'
      C:\Users\guanciottaman\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: vedere la dichiarazione di '_longobject'
      aiohttp/_websocket.c(3744): error C2039: 'ob_digit': non Š un membro di '_longobject'
      C:\Users\guanciottaman\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: vedere la dichiarazione di '_longobject'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [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: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects

Python Version

3.12

aiohttp Version

3.8.6

multidict Version

6.0.4

yarl Version

1.9.2

OS

Windows 11

Related component

Client

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct
@Zalk0
Copy link

Zalk0 commented Oct 21, 2023

See #7675
Basically, Python 3.12 is not supported yet in regular releases. For Python 3.12 install the beta.
pip install aiohttp==3.9.0rc0
Edit: beta 3.9.0b1 is out
Edit 2: release candidate 3.9.0rc0 is out
Edit 3: 3.9.0 has been released

@Nosok2011
Copy link

See #7675 Basically, Python 3.12 is not supported yet in regular releases. For Python 3.12 install the beta 3.9.0b0. pip install aiohttp==3.9.0b0

чел, ты лучший, спасибо за решение

@AntonOfTheWoods
Copy link

@wuyuncheng-26 没有谷歌/百度翻译马?

breedenc added a commit to WarnerMedia/artemis that referenced this issue Oct 27, 2023
lilydjwg added a commit to lilydjwg/nvchecker that referenced this issue Oct 27, 2023
breedenc added a commit to WarnerMedia/artemis that referenced this issue Oct 27, 2023
* update Maven URL

* update Veracode container image dependency versions

* pin python3 Dockerfile to python 3.11 due to aio-libs/aiohttp#7739
@amotl
Copy link

amotl commented Oct 31, 2023

Hi there. We have been tripped by the same error when trying to update to Python 3.12. Apparently this is happening through the langchain package, which uses aiohttp as a dependency. -- crate/cratedb-examples#111, crate/cratedb-examples@9afffabee8d

Edit: Ah, we see that we missed to read the comment by @Zalk0, that aiohttp 3.9 is in the making already, thank you so much! -- #7675

@Rooba
Copy link

Rooba commented Nov 1, 2023

You can also install the release directly pip install https://github.com/aio-libs/aiohttp/releases/download/v3.9.0b0/aiohttp-3.9.0b0.tar.gz

@orsenthil
Copy link

Is there a plan to release aiohttp==3.9.0b0 soon? Python 3.12 has been GA, and aiohttp is fundamental to many packages.

@trancefer
Copy link

@trancefer , any chance you could check whether you get this in wsl also ?

i forget say Hi) sorry, can't for now, maybe later

@trancefer try to do this pip install aiohttp==3.9.0b0 for me this command work so maybe you too.

thank you, but same error

@trancefer
Copy link

@trancefer

 Using cached aiohttp-3.9.0-cp312-cp312-win_amd64.whl (362 kB)

your system is downloading the precompiled wheel of aiohttp 👍🏽 but

× Building wheel for frozenlist (pyproject.toml) did not run successfully.

you have a problem with another dependency.

thank you. any idea what can i do?

@astrojuanlu
Copy link

@trancefer subscribe to aio-libs/frozenlist#541 😉

@RubTalha

This comment was marked as outdated.

@khairalanam
Copy link

Hi there! I am trying to build a small project and am facing an issue with aiohttp installation. I also use Python 3.12. I tried all the solutions mentioned in the comments to this issue including installing the experimental versions and none of them worked.

I am getting an error related to multidict

yt_env is basically the virtual environment I'm using

(yt_env) PS D:\Development\yt-downloader> pip install aiohttp
Collecting aiohttp
  Using cached aiohttp-3.9.1-cp312-cp312-win_amd64.whl.metadata (7.6 kB)
Collecting attrs>=17.3.0 (from aiohttp)
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp)
  Using cached multidict-6.0.4.tar.gz (51 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting yarl<2.0,>=1.0 (from aiohttp)
  Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl.metadata (32 kB)
Collecting frozenlist>=1.1.1 (from aiohttp)
  Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl.metadata (12 kB)
Collecting aiosignal>=1.1.2 (from aiohttp)
  Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp)
  Using cached idna-3.6-py3-none-any.whl.metadata (9.9 kB)
Using cached aiohttp-3.9.1-cp312-cp312-win_amd64.whl (362 kB)
Using cached frozenlist-1.4.1-cp312-cp312-win_amd64.whl (50 kB)
Using cached yarl-1.9.4-cp312-cp312-win_amd64.whl (76 kB)      
Using cached idna-3.6-py3-none-any.whl (61 kB)
Building wheels for collected packages: multidict
  Building wheel for multidict (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for multidict (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [80 lines of output]
      *********************
      * Accelerated build *
      *********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      creating build\lib.win-amd64-cpython-312\multidict
      copying multidict\_abc.py -> build\lib.win-amd64-cpython-312\multidict
      copying multidict\_compat.py -> build\lib.win-amd64-cpython-312\multidict
      copying multidict\_multidict_base.py -> build\lib.win-amd64-cpython-312\multidict
      copying multidict\_multidict_py.py -> build\lib.win-amd64-cpython-312\multidict
      copying multidict\__init__.py -> build\lib.win-amd64-cpython-312\multidict
      running egg_info
      writing multidict.egg-info\PKG-INFO
      writing dependency_links to multidict.egg-info\dependency_links.txt
      writing top-level names to multidict.egg-info\top_level.txt
      reading manifest file 'multidict.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files found matching 'multidict\_multidict.html'
      warning: no previously-included files found matching 'multidict\*.so'
      warning: no previously-included files found matching 'multidict\*.pyd'
      warning: no previously-included files found matching 'multidict\*.pyd'
      no previously-included directories found matching 'docs\_build'
      adding license file 'LICENSE'
      writing manifest file 'multidict.egg-info\SOURCES.txt'
      C:\Users\dell\AppData\Local\Temp\pip-build-env-5ojychdw\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'multidict._multilib' is absent from the `packages` configuration.
      !!
     
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'multidict._multilib' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
     
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'multidict._multilib' is explicitly added
              to the `packages` configuration field.
     
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
     
              You can read more about "package discovery" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
     
              If you don't want 'multidict._multilib' to be distributed and are
              already explicitly excluding 'multidict._multilib' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
     
              You can read more about "package data files" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
     
     
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
     
      !!
        check.warn(importable)
      copying multidict\__init__.pyi -> build\lib.win-amd64-cpython-312\multidict
      copying multidict\py.typed -> build\lib.win-amd64-cpython-312\multidict
      running build_ext
      building 'multidict._multidict' extension
      creating build\temp.win-amd64-cpython-312
      creating build\temp.win-amd64-cpython-312\Release
      creating build\temp.win-amd64-cpython-312\Release\multidict
      "D:\Programs\Visual Studio Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\Development\yt-downloader\yt_env\include -ID:\Programs\Python3.12\include -ID:\Programs\Python3.12\Include "-ID:\Programs\Visual Studio Community\VC\Tools\MSVC\14.38.33130\include" "-ID:\Programs\Visual Studio Community\VC\Auxiliary\VS\include" /Tcmultidict/_multidict.c /Fobuild\temp.win-amd64-cpython-312\Release\multidict/_multidict.obj -O2
      _multidict.c
      D:\Programs\Python3.12\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
      error: command 'D:\\Programs\\Visual Studio Community\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2  
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for multidict
Failed to build multidict
ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects

@Dreamsorcerer
Copy link
Member

D:\Programs\Python3.12\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory

My guess is you don't have python-dev installed (or whatever it is on Windows). multidict is the last one still missing 3.12 wheels, it's being worked on.

@Jamim
Copy link
Contributor

Jamim commented Dec 26, 2023

My guess is you don't have python-dev installed (or whatever it is on Windows). multidict is the last one still missing 3.12 wheels, it's being worked on.

For those who are interested, there is a corresponding issue to track:

@Cowm00
Copy link

Cowm00 commented Feb 1, 2024

It works for me now on Windows with VS Code after installing the correct build tools. More info here: https://stackoverflow.com/questions/77834441/please-find-the-cause-of-could-not-build-wheels-for-multidict-which-is-require/77919210#77919210

@webknjaz
Copy link
Member

webknjaz commented Feb 2, 2024

Finally made a multidict release yesterday: https://github.com/aio-libs/multidict/releases/tag/v6.0.5. Enjoy!

@egor52e
Copy link

egor52e commented Oct 16, 2024

See #7675 Basically, Python 3.12 is not supported yet in regular releases. For Python 3.12 install the beta. pip install aiohttp==3.9.0rc0 Edit: beta 3.9.0b1 is out Edit 2: release candidate 3.9.0rc0 is out Edit 3: 3.9.0 has been released

thank you very much, bro! it was really worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.