You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to install the package into PyCharm. I've tried to install via PyCharm and also through pip via the Windows 11 command prompt. I'm running the Community Edition of PyCharm and Python 2.12.2.
I've seen this problem referenced elsewhere, but all issues seem to have fixes applied, e.g. cython/cython#5238
Microsoft Windows [Version 10.0.22621.3296]
(c) Microsoft Corporation. All rights reserved.
C:\Users\XXXXX>pip install jsonobject
Collecting jsonobject
Using cached jsonobject-2.1.0.tar.gz (406 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: six in c:\users\XXXX\appdata\local\programs\python\python312\lib\site-packages (from jsonobject) (1.16.0)
Building wheels for collected packages: jsonobject
Building wheel for jsonobject (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for jsonobject (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
Warning: 'classifiers' should be a list, got type 'tuple'
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\jsonobject
copying jsonobject\exceptions.py -> build\lib.win-amd64-cpython-312\jsonobject
copying jsonobject_init_.py -> build\lib.win-amd64-cpython-312\jsonobject
running build_ext
building 'jsonobject.api' extension
creating build\temp.win-amd64-cpython-312
creating build\temp.win-amd64-cpython-312\Release
creating build\temp.win-amd64-cpython-312\Release\jsonobject
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\XXXX\AppData\Local\Programs\Python\Python312\include -IC:\Users\XXXX\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcjsonobject/api.c /Fobuild\temp.win-amd64-cpython-312\Release\jsonobject/api.obj
api.c
jsonobject/api.c(4709): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
jsonobject/api.c(4764): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
jsonobject/api.c(4905): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
jsonobject/api.c(4960): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
jsonobject/api.c(5411): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\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 jsonobject
Failed to build jsonobject
ERROR: Could not build wheels for jsonobject, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered:
Trying to install the package into PyCharm. I've tried to install via PyCharm and also through pip via the Windows 11 command prompt. I'm running the Community Edition of PyCharm and Python 2.12.2.
I've seen this problem referenced elsewhere, but all issues seem to have fixes applied, e.g. cython/cython#5238
Microsoft Windows [Version 10.0.22621.3296]
(c) Microsoft Corporation. All rights reserved.
C:\Users\XXXXX>pip install jsonobject
Collecting jsonobject
Using cached jsonobject-2.1.0.tar.gz (406 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: six in c:\users\XXXX\appdata\local\programs\python\python312\lib\site-packages (from jsonobject) (1.16.0)
Building wheels for collected packages: jsonobject
Building wheel for jsonobject (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for jsonobject (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
Warning: 'classifiers' should be a list, got type 'tuple'
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\jsonobject
copying jsonobject\exceptions.py -> build\lib.win-amd64-cpython-312\jsonobject
copying jsonobject_init_.py -> build\lib.win-amd64-cpython-312\jsonobject
running build_ext
building 'jsonobject.api' extension
creating build\temp.win-amd64-cpython-312
creating build\temp.win-amd64-cpython-312\Release
creating build\temp.win-amd64-cpython-312\Release\jsonobject
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\XXXX\AppData\Local\Programs\Python\Python312\include -IC:\Users\XXXX\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcjsonobject/api.c /Fobuild\temp.win-amd64-cpython-312\Release\jsonobject/api.obj
api.c
jsonobject/api.c(4709): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
jsonobject/api.c(4764): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
jsonobject/api.c(4905): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
jsonobject/api.c(4960): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
jsonobject/api.c(5411): error C2039: 'ob_digit': is not a member of '_longobject'
C:\Users\XXXX\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\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 jsonobject
Failed to build jsonobject
ERROR: Could not build wheels for jsonobject, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered: