pip install ujson==1.35
Collecting ujson==1.35
Using cached ujson-1.35.tar.gz (192 kB)
Building wheels for collected packages: ujson
Building wheel for ujson (setup.py) … error
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\devashree sharma\anaconda3\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\conda_temp\pip-install-l3fq
q8xg\ujson_0efcd9ff71394991948c2926e015b45b\setup.py’"’"’; file=’"’"‘C:\conda_temp\pip-install-l3fqq8xg\ujson_0efcd9ff71394991948c2926e015b45b\setup.py
‘"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code =
f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d ‘C:\conda_temp\pip-wheel-5d2bulyz’
cwd: C:\conda_temp\pip-install-l3fqq8xg\ujson_0efcd9ff71394991948c2926e015b45b
Complete output (73 lines):
Warning: ‘classifiers’ should be a list, got type ‘filter’
running bdist_wheel
running build
running build_ext
building ‘ujson’ extension
creating build
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\python
creating build\temp.win-amd64-3.8\Release\lib
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\includ
e” -c ./python/ujson.c -o build\temp.win-amd64-3.8\Release.\python\ujson.o -D_GNU_SOURCE
In file included from C:\Users\devashree sharma\anaconda3\include/Python.h:85:0,
from ./python/py_defines.h:39,
from ./python/ujson.c:39:
C:\Users\devashree sharma\anaconda3\include/pytime.h:123:59: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
PyAPI_FUNC(int) _PyTime_FromTimeval(_PyTime_t *tp, struct timeval *tv);
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:130:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
struct timeval *tv,
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:135:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
struct timeval *tv,
^~~~~~~
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\includ
e” -c ./python/objToJSON.c -o build\temp.win-amd64-3.8\Release.\python\objtojson.o -D_GNU_SOURCE
In file included from C:\Users\devashree sharma\anaconda3\include/Python.h:85:0,
from ./python/py_defines.h:39,
from ./python/objToJSON.c:39:
C:\Users\devashree sharma\anaconda3\include/pytime.h:123:59: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
PyAPI_FUNC(int) _PyTime_FromTimeval(_PyTime_t *tp, struct timeval *tv);
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:130:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
struct timeval *tv,
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:135:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
struct timeval *tv,
^~~~~~~
./python/objToJSON.c: In function ‘PyUnicodeToUTF8’:
./python/objToJSON.c:154:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
char *data = PyUnicode_AsUTF8AndSize(obj, &len);
^~~~~~~~~~~~~~~~~~~~~~~
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\includ
e” -c ./python/JSONtoObj.c -o build\temp.win-amd64-3.8\Release.\python\jsontoobj.o -D_GNU_SOURCE
In file included from C:\Users\devashree sharma\anaconda3\include/Python.h:85:0,
from ./python/py_defines.h:39,
from ./python/JSONtoObj.c:39:
C:\Users\devashree sharma\anaconda3\include/pytime.h:123:59: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
PyAPI_FUNC(int) _PyTime_FromTimeval(_PyTime_t *tp, struct timeval *tv);
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:130:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
struct timeval *tv,
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:135:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this defin
ition or declaration
struct timeval *tv,
^~~~~~~
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\includ
e” -c ./lib/ultrajsonenc.c -o build\temp.win-amd64-3.8\Release.\lib\ultrajsonenc.o -D_GNU_SOURCE
./lib/ultrajsonenc.c:156:23: warning: ‘g_hexChars’ is static but used in inline function ‘Buffer_AppendShortHexUnchecked’ which is not static
*(outputOffset++) = g_hexChars[(value & 0x000f) >> 0];
^~~~~~~~~~
./lib/ultrajsonenc.c:155:23: warning: ‘g_hexChars’ is static but used in inline function ‘Buffer_AppendShortHexUnchecked’ which is not static
*(outputOffset++) = g_hexChars[(value & 0x00f0) >> 4];
^~~~~~~~~~
./lib/ultrajsonenc.c:154:23: warning: ‘g_hexChars’ is static but used in inline function ‘Buffer_AppendShortHexUnchecked’ which is not static
*(outputOffset++) = g_hexChars[(value & 0x0f00) >> 8];
^~~~~~~~~~
./lib/ultrajsonenc.c:153:23: warning: ‘g_hexChars’ is static but used in inline function ‘Buffer_AppendShortHexUnchecked’ which is not static
*(outputOffset++) = g_hexChars[(value & 0xf000) >> 12];
^~~~~~~~~~
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\includ
e” -c ./lib/ultrajsondec.c -o build\temp.win-amd64-3.8\Release.\lib\ultrajsondec.o -D_GNU_SOURCE
./lib/ultrajsondec.c: In function ‘decode_string’:
./lib/ultrajsondec.c:445:22: error: ‘SIZE_MAX’ undeclared (first use in this function)
if (newSize > (SIZE_MAX / sizeof(wchar_t)))
^~~~~~~~
./lib/ultrajsondec.c:445:22: note: each undeclared identifier is reported only once for each function it appears in
error: command ‘C:\MinGW\bin\gcc.exe’ failed with exit status 1
ERROR: Failed building wheel for ujson
Running setup.py clean for ujson
Failed to build ujson
Installing collected packages: ujson
Attempting uninstall: ujson
Found existing installation: ujson 4.0.2
Uninstalling ujson-4.0.2:
Successfully uninstalled ujson-4.0.2
Running setup.py install for ujson … error
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\devashree sharma\anaconda3\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\conda_temp\pip-install-l3
fqq8xg\ujson_0efcd9ff71394991948c2926e015b45b\setup.py’"’"’; file=’"’"‘C:\conda_temp\pip-install-l3fqq8xg\ujson_0efcd9ff71394991948c2926e015b45b\setup.
py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code
= f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record ‘C:\conda_temp\pip-record-hc6xvkc6\ins
tall-record.txt’ --single-version-externally-managed --compile --install-headers ‘C:\Users\devashree sharma\anaconda3\Include\ujson’
cwd: C:\conda_temp\pip-install-l3fqq8xg\ujson_0efcd9ff71394991948c2926e015b45b
Complete output (73 lines):
Warning: ‘classifiers’ should be a list, got type ‘filter’
running install
running build
running build_ext
building ‘ujson’ extension
creating build
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\python
creating build\temp.win-amd64-3.8\Release\lib
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\incl
ude” -c ./python/ujson.c -o build\temp.win-amd64-3.8\Release.\python\ujson.o -D_GNU_SOURCE
In file included from C:\Users\devashree sharma\anaconda3\include/Python.h:85:0,
from ./python/py_defines.h:39,
from ./python/ujson.c:39:
C:\Users\devashree sharma\anaconda3\include/pytime.h:123:59: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
PyAPI_FUNC(int) _PyTime_FromTimeval(_PyTime_t *tp, struct timeval *tv);
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:130:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
struct timeval *tv,
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:135:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
struct timeval *tv,
^~~~~~~
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\incl
ude” -c ./python/objToJSON.c -o build\temp.win-amd64-3.8\Release.\python\objtojson.o -D_GNU_SOURCE
In file included from C:\Users\devashree sharma\anaconda3\include/Python.h:85:0,
from ./python/py_defines.h:39,
from ./python/objToJSON.c:39:
C:\Users\devashree sharma\anaconda3\include/pytime.h:123:59: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
PyAPI_FUNC(int) _PyTime_FromTimeval(_PyTime_t *tp, struct timeval *tv);
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:130:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
struct timeval *tv,
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:135:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
struct timeval *tv,
^~~~~~~
./python/objToJSON.c: In function ‘PyUnicodeToUTF8’:
./python/objToJSON.c:154:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
char *data = PyUnicode_AsUTF8AndSize(obj, &len);
^~~~~~~~~~~~~~~~~~~~~~~
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\incl
ude” -c ./python/JSONtoObj.c -o build\temp.win-amd64-3.8\Release.\python\jsontoobj.o -D_GNU_SOURCE
In file included from C:\Users\devashree sharma\anaconda3\include/Python.h:85:0,
from ./python/py_defines.h:39,
from ./python/JSONtoObj.c:39:
C:\Users\devashree sharma\anaconda3\include/pytime.h:123:59: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
PyAPI_FUNC(int) _PyTime_FromTimeval(_PyTime_t *tp, struct timeval *tv);
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:130:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
struct timeval *tv,
^~~~~~~
C:\Users\devashree sharma\anaconda3\include/pytime.h:135:12: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this def
inition or declaration
struct timeval *tv,
^~~~~~~
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\incl
ude” -c ./lib/ultrajsonenc.c -o build\temp.win-amd64-3.8\Release.\lib\ultrajsonenc.o -D_GNU_SOURCE
./lib/ultrajsonenc.c:156:23: warning: ‘g_hexChars’ is static but used in inline function ‘Buffer_AppendShortHexUnchecked’ which is not static
*(outputOffset++) = g_hexChars[(value & 0x000f) >> 0];
^~~~~~~~~~
./lib/ultrajsonenc.c:155:23: warning: ‘g_hexChars’ is static but used in inline function ‘Buffer_AppendShortHexUnchecked’ which is not static
*(outputOffset++) = g_hexChars[(value & 0x00f0) >> 4];
^~~~~~~~~~
./lib/ultrajsonenc.c:154:23: warning: ‘g_hexChars’ is static but used in inline function ‘Buffer_AppendShortHexUnchecked’ which is not static
*(outputOffset++) = g_hexChars[(value & 0x0f00) >> 8];
^~~~~~~~~~
./lib/ultrajsonenc.c:153:23: warning: ‘g_hexChars’ is static but used in inline function ‘Buffer_AppendShortHexUnchecked’ which is not static
*(outputOffset++) = g_hexChars[(value & 0xf000) >> 12];
^~~~~~~~~~
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -I./python -I./lib “-IC:\Users\devashree sharma\anaconda3\include” “-IC:\Users\devashree sharma\anaconda3\incl
ude” -c ./lib/ultrajsondec.c -o build\temp.win-amd64-3.8\Release.\lib\ultrajsondec.o -D_GNU_SOURCE
./lib/ultrajsondec.c: In function ‘decode_string’:
./lib/ultrajsondec.c:445:22: error: ‘SIZE_MAX’ undeclared (first use in this function)
if (newSize > (SIZE_MAX / sizeof(wchar_t)))
^~~~~~~~
./lib/ultrajsondec.c:445:22: note: each undeclared identifier is reported only once for each function it appears in
error: command ‘C:\MinGW\bin\gcc.exe’ failed with exit status 1
----------------------------------------
Rolling back uninstall of ujson
Moving to c:\users\devashree sharma\anaconda3\lib\site-packages\ujson-4.0.2.dist-info
from C:\Users\devashree sharma\anaconda3\Lib\site-packages~json-4.0.2.dist-info
Moving to c:\users\devashree sharma\anaconda3\lib\site-packages\ujson.cp38-win_amd64.pyd
from C:\conda_temp\pip-uninstall-6v4m99gk\ujson.cp38-win_amd64.pyd
ERROR: Command errored out with exit status 1: ‘C:\Users\devashree sharma\anaconda3\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"
‘"‘C:\conda_temp\pip-install-l3fqq8xg\ujson_0efcd9ff71394991948c2926e015b45b\setup.py’"’"’; file=’"’"‘C:\conda_temp\pip-install-l3fqq8xg\ujson_0efcd9f
f71394991948c2926e015b45b\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools
import setup; setup()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record ‘C:\c
onda_temp\pip-record-hc6xvkc6\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘C:\Users\devashree sharma\anaconda3\Include\uj
son’ Check the logs for full command output.