-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
black[d] - ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects #3483
Comments
Are you on 32-bit or ARM Windows? I'm a little confused as Black, aiohttp and the rest of those packages should have wheels for Python 3.8 on Windows, in other words, they should install without issue. Could you try upgrading your pip and also install setuptools and wheel? |
The error is still exists.
> python --version
Python 3.10.8 pip --version
pip 22.3.1 from C:\Users\smarton-hp\.local\lib\python3.10-mingw_x86_64\site-packages\pip (python 3.10) > wheel version
wheel 0.38.4 > pip install setuptools
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: setuptools in c:\users\smarton-hp\.local\lib\python3.10-mingw_x86_64\site-packages (65.6.3)
|
You're using mingw-compiled Python as opposed to the regular Visual Studio-compiled one. Wheels between those are not compatible and yarl does not provide mingw wheels nor does it seem to be buildable on such configuration. It is generally recommended to use python.org-provided Python builds on Windows. |
@Jackenmen thanks, i downloaded python from python.org, and is works fine. |
i need help i am trying to install discord.py and i have tried everything and it doesn't work it says note: This error originates from a subprocess, and is likely not a problem with pip. |
Similar problem to @Harrikar 's... It starts building the wheel and gives an error: subprocess-exited-with-error
|
I literally just found the solution after commenting.
|
thank you |
but for me it doesn't work though |
The error is solved by installing Microsoft C++ Build Tools https://visualstudio.microsoft.com/es/visual-cpp-build-tools/ |
You are absolutely right, these types of questions should not be here. |
I am getting below error messages when I try to build images for python app sample repository. Did anyone find solutions for the same. |
uilding wheels for collected packages: aiohttp, frozenlist, multidict, yarl
note: This error originates from a subprocess, and is likely not a problem with pip. |
Any idea |
The Aiohttp issue seems to be an issue with Python 3.12. |
same problem with me while installing openai and streamlit |
Building wheel for aiohttp (pyproject.toml) ... error × Building wheel for aiohttp (pyproject.toml) did not run successfully. building 'aiohttp._websocket' extension note: This error originates from a subprocess, and is likely not a problem with pip. × Building wheel for frozenlist (pyproject.toml) did not run successfully. building 'frozenlist._frozenlist' extension note: This error originates from a subprocess, and is likely not a problem with pip. × Building wheel for multidict (pyproject.toml) did not run successfully. building 'multidict._multidict' extension note: This error originates from a subprocess, and is likely not a problem with pip. × Building wheel for yarl (pyproject.toml) did not run successfully. |
same none off these work for me |
When I install the openai library with "pip install openai", I get the error: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects... any help? |
aiohttp doesn't work on Python 3.12 yet; see aio-libs/aiohttp#7739 and related issues. This isn't related to Black and there's nothing we can do about it, so I'm going to lock this issue to stop the people complaining about various unrelated libraries. |
I want to install ˙black[d]˙ in Windows 11 64 bit.
To Reproduce
pip install 'black[d]'
black setup.py
is works fineThe resulting error is:
Expected behavior
install it.
Environment
black, 22.12.0 (compiled: no)
Additional context
pip-install-blackd.txt
The text was updated successfully, but these errors were encountered: