Closed JM-Bader closed 1 year ago
FYI: I and chatGPT found a solution.
One has to additionally install this:
upon installation of the above, alphastats can still not be installed. One then has to do the following:
then it works in my hands
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 :)
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: