-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Not installing on windows 11 with python 3.11 #702
Comments
same here |
I am also running into this |
+1 |
Same on Win10x64, Python3.11.1 |
same on MacOS Monterey12.3.1,Python3.11 |
I'm receiving the same error message. As a workaround, I rolled back to 3.10, but it would be great to have this corrected for 3.11 |
Any update on wheels for 3.11? At 3.11.1 and want to upgrade for the performance boost and wordcloud is the only package that won't install. |
Same on Ubuntu server 20.04, python 3.11 |
I think this is fixed in master (#697), it just hasn't made it into a release yet. |
I cannot install it on M1 Python 3.11 either. |
Same issue with python 3.11, windows 10 system. |
+1 |
As per #708:
If this command doesn't work for some reason, clone the repo and run As per the |
|
Please try again, binaries for 3.11 should be available now. |
required some more fixes, should be good now! |
Microsoft Windows [Version 10.0.22621.900]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Burhan>python -V
Python 3.11.0
C:\Users\Burhan>pip install wordcloud
Collecting wordcloud
Using cached wordcloud-1.8.2.2.tar.gz (220 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.6.1 in d:\python\lib\site-packages (from wordcloud) (1.23.5)
Requirement already satisfied: pillow in d:\python\lib\site-packages (from wordcloud) (9.3.0)
Requirement already satisfied: matplotlib in d:\python\lib\site-packages (from wordcloud) (3.6.2)
Requirement already satisfied: contourpy>=1.0.1 in d:\python\lib\site-packages (from matplotlib->wordcloud) (1.0.6)
Requirement already satisfied: cycler>=0.10 in d:\python\lib\site-packages (from matplotlib->wordcloud) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in d:\python\lib\site-packages (from matplotlib->wordcloud) (4.38.0)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\python\lib\site-packages (from matplotlib->wordcloud) (1.4.4)
Requirement already satisfied: packaging>=20.0 in d:\python\lib\site-packages (from matplotlib->wordcloud) (21.3)
Requirement already satisfied: pyparsing>=2.2.1 in d:\python\lib\site-packages (from matplotlib->wordcloud) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in d:\python\lib\site-packages (from matplotlib->wordcloud) (2.8.2)
Requirement already satisfied: six>=1.5 in d:\python\lib\site-packages (from python-dateutil>=2.7->matplotlib->wordcloud) (1.16.0)
Building wheels for collected packages: wordcloud
Building wheel for wordcloud (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\color_from_image.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\tokenization.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\wordcloud.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\wordcloud_cli.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud_version.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud_init_.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud_main_.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\stopwords -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\DroidSansMono.ttf -> build\lib.win-amd64-cpython-311\wordcloud
UPDATING build\lib.win-amd64-cpython-311\wordcloud/_version.py
set build\lib.win-amd64-cpython-311\wordcloud/_version.py to '1.8.2.2'
running build_ext
building 'wordcloud.query_integral_image' extension
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\wordcloud
d:\microsoft\visual_studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\python\include -ID:\python\Include -Id:\microsoft\visual_studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -Id:\microsoft\visual_studio\2022\BuildTools\VC\Auxiliary\VS\include "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /Tcwordcloud/query_integral_image.c /Fobuild\temp.win-amd64-cpython-311\Release\wordcloud/query_integral_image.obj
query_integral_image.c
wordcloud/query_integral_image.c(196): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
error: command 'd:\microsoft\visual_studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\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 wordcloud
Running setup.py clean for wordcloud
Failed to build wordcloud
Installing collected packages: wordcloud
Running setup.py install for wordcloud ... error
error: subprocess-exited-with-error
× Running setup.py install for wordcloud did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
running install
D:\python\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\color_from_image.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\tokenization.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\wordcloud.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\wordcloud_cli.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud_version.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud_init_.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud_main_.py -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\stopwords -> build\lib.win-amd64-cpython-311\wordcloud
copying wordcloud\DroidSansMono.ttf -> build\lib.win-amd64-cpython-311\wordcloud
UPDATING build\lib.win-amd64-cpython-311\wordcloud/_version.py
set build\lib.win-amd64-cpython-311\wordcloud/_version.py to '1.8.2.2'
running build_ext
building 'wordcloud.query_integral_image' extension
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\wordcloud
d:\microsoft\visual_studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\python\include -ID:\python\Include -Id:\microsoft\visual_studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -Id:\microsoft\visual_studio\2022\BuildTools\VC\Auxiliary\VS\include "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /Tcwordcloud/query_integral_image.c /Fobuild\temp.win-amd64-cpython-311\Release\wordcloud/query_integral_image.obj
query_integral_image.c
wordcloud/query_integral_image.c(196): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
error: command 'd:\microsoft\visual_studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\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: legacy-install-failure
× Encountered error while trying to install package.
╰─> wordcloud
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
The text was updated successfully, but these errors were encountered: