-
Notifications
You must be signed in to change notification settings - Fork 15
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
can't install: Microsoft visual error message #158
Comments
Thanks for reporting this (and also providing the solution)! I cannot fix this within the package (despite removing dependencies) as this is more related to Visual Studio and Windows. However, I will document this in case someone else is running into this issue :) |
"(base) PS C:\WINDOWS\system32> pip install alphastats × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
Hi @pokhf123 we have not tested support for python 3.11 yet. You need to therefore run it with python 3.10 max. |
thanks!
|
I have picked python 3.10.9 according to the recommendations of python versions.
Tries to install:
yields:
Installing collected packages: iteration-utilities, gitdb, click, blinker, tzlocal, sparse, rich, pydeck, pandas, outdated, numba-stats, gitpython, sklearn-pandas, data-cache, altair, streamlit, pandas-flavor, batchglm, pingouin, diffxpy, swifter, alphastats
Running setup.py install for iteration-utilities: started
Running setup.py install for iteration-utilities: finished with status 'error'
Note: you may need to restart the kernel to use updated packages.
Output exceeds the size limit. Open the full output data in a text editor error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\iteration_utilities
copying src\iteration_utilities_additional_recipes.py -> build\lib.win-amd64-cpython-310\iteration_utilities
copying src\iteration_utilities_classes.py -> build\lib.win-amd64-cpython-310\iteration_utilities
copying src\iteration_utilities_convenience.py -> build\lib.win-amd64-cpython-310\iteration_utilities
copying src\iteration_utilities_recipes.py -> build\lib.win-amd64-cpython-310\iteration_utilities
copying src\iteration_utilities_utils.py -> build\lib.win-amd64-cpython-310\iteration_utilities
copying src\iteration_utilities_init_.py -> build\lib.win-amd64-cpython-310\iteration_utilities
running build_ext
building 'iteration_utilities._iteration_utilities' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for iteration-utilities
error: subprocess-exited-with-error
...
╰─> iteration-utilities
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
While actually, I have:
The text was updated successfully, but these errors were encountered: