-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
pip install fails for python 3.11 #7051
Comments
I think this is the root: aio-libs/frozenlist#342 |
The problem is that some of the dependencies of aiohttp are not yet built for 3.11. |
If you really want to use it you can use third party wheels although they might not be secure. mine are here and I'm sure you could find others online |
Can this issue be closed? It seems 3.8.3 installs fine |
This is still an issue for my with python 3.12 on W11
|
Still on issue with Python 3.12? The issue is about 3.11. 3.12 obviously won't have wheels yet... Wheels don't get built when deploying until a Python version is atleast an rc release. i.e. Sometime after 2023-07-31: https://peps.python.org/pep-0693/ |
Sorry don't know much about python. Rolling back to 3.11 works. |
Ha, well, if you want things to be working (especially a lot of 3rd party libraries), don't use an early alpha release of Python. :P |
I was using |
Thankyou, spent 4hours trying to solve and this simple comment helped me. |
@felipebarbosa4 How did this help you then? It would be great to hear as I am experiencing these issues during the switch from Python 3.11 to Python 3.12. |
Looks like they recently released a hotfix (#7675), same happened to me when moving to a new computer from 3.11 to 3.12 and I fixed by using: |
I get this error with python versions 3.9 and above all the way to 3.12. Any idea of what could be the issue? Thanks! |
Thank you, I just installed Python 3.12, and ran into the same problem. Your comment helped me. |
For anyone still having this issue on Windows with Python 3.12 - the solution for me was to download vs_BuildTools.exe from Microsoft, and then run the following against it:
This satisfies the dependency on the build tools for Visual C++ and allows installation to continue. By default the specific components required for |
The aiohttp 3.8.x versions seem to have an issue with Python 3.11, namely aio-libs/aiohttp#7051 Versions 3.9.x solve the problem, upgrading python module's deps. Change-Id: I5cb81d0718a31862127c3837a55e2e06824fed3d
I have solved the problem with the tip of that download the vs_BuildTools.exe and installed the C++ 14 build tools。 |
Describe the bug
Python 3.11 is just out. I installed it and made a fresh virtual environment and first thing first tried to install aiohttp with:
pip install aiohttp
it failed.
I also have python 3.10.8 and it was installed with no problem.
Log is pasted in the Logs/tracebacks section below.
To Reproduce
install python 3.11
make a virtual environment and activate(optional)
pip install aiohttp
Expected behavior
To be installed successfully
Logs/tracebacks
aiohttp Version
multidict Version
yarl Version
OS
Windows 10
Related component
Server, Client
Additional context
NA
Code of Conduct
The text was updated successfully, but these errors were encountered: