-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I am getting an error when I try to install mutableint. I am not sure what I am doing wrong. See below.
pip install mutableint
Defaulting to user installation because normal site-packages is not writeable
Collecting mutableint
Using cached mutableint-0.1.tar.gz (3.8 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting wheel (from mutableint)
Using cached wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB)
Using cached wheel-0.44.0-py3-none-any.whl (67 kB)
Building wheels for collected packages: mutableint
Building wheel for mutableint (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for mutableint (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-312\mutableint
copying mutableint_init_.py -> build\lib.win-amd64-cpython-312\mutableint
running build_ext
building '_mutableint' extension
creating build\temp.win-amd64-cpython-312\Release
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tc_mutableint.c /Fobuild\temp.win-amd64-cpython-312\Release_mutableint.obj
_mutableint.c
_mutableint.c(28): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
_mutableint.c(29): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
_mutableint.c(33): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
_mutableint.c(34): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
_mutableint.c(34): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
_mutableint.c(64): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'size_t'
_mutableint.c(64): note: consider using '%zd' in the format string
_mutableint.c(65): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'size_t'
_mutableint.c(65): note: consider using '%zd' in the format string
_mutableint.c(66): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'size_t'
_mutableint.c(66): note: consider using '%zd' in the format string
_mutableint.c(70): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
_mutableint.c(70): warning C4473: 'printf' : not enough arguments passed for format string
_mutableint.c(70): note: placeholders and their parameters expect 1 variadic arguments, but 0 were provided
_mutableint.c(70): note: the missing variadic argument 1 is required by format string '%p'
_mutableint.c(72): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'Py_ssize_t'
_mutableint.c(72): note: consider using '%lld' in the format string
_mutableint.c(72): note: consider using '%Id' in the format string
_mutableint.c(72): note: consider using '%I64d' in the format string
_mutableint.c(73): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
_mutableint.c(77): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
_mutableint.c(77): warning C4473: 'printf' : not enough arguments passed for format string
_mutableint.c(77): note: placeholders and their parameters expect 2 variadic arguments, but 1 were provided
_mutableint.c(77): note: the missing variadic argument 2 is required by format string '%x'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\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 mutableint
Failed to build mutableint
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (mutableint)