I get the following error when trying to install getpy. Can someone help me understand it?
Using cached pybind11-2.10.4-py3-none-any.whl (222 kB)
Building wheels for collected packages: getpy
Building wheel for getpy (setup.py) ... error
error: subprocess-exited-with-error
I get the following error when trying to install getpy. Can someone help me understand it?
Using cached pybind11-2.10.4-py3-none-any.whl (222 kB) Building wheels for collected packages: getpy Building wheel for getpy (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [30 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\getpy copying getpy\getpy.py -> build\lib.win-amd64-cpython-310\getpy copying getpy\getpy_types.py -> build\lib.win-amd64-cpython-310\getpy copying getpy__init__.py -> build\lib.win-amd64-cpython-310\getpy running egg_info creating getpy.egg-info writing getpy.egg-info\PKG-INFO writing dependency_links to getpy.egg-info\dependency_links.txt writing requirements to getpy.egg-info\requires.txt writing top-level names to getpy.egg-info\top_level.txt writing manifest file 'getpy.egg-info\SOURCES.txt' reading manifest file 'getpy.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'getpy.egg-info\SOURCES.txt' running build_ext building '_getpy' extension creating build\temp.win-amd64-cpython-310 creating build\temp.win-amd64-cpython-310\Release creating build\temp.win-amd64-cpython-310\Release\src ...... cl : Command line warning D9025 : overriding '/W3' with '/w' getpy.cpp lib/pybind11/include\pybind11/numpy.h(35): error C2065: 'ssize_t': undeclared identifier lib/pybind11/include\pybind11/numpy.h(35): error C2338: ssize_t != Py_intptr_t error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2