ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
Failed to install python-libmagic on Windows, similar to #11
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
This is weird because cffi already seems to be installed
Complete Traceback
Note: you may need to restart the kernel to use updated packages. error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [216 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\cffi copying cffi\api.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\backend_ctypes.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\cffi_opcode.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\commontypes.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\cparser.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\ffiplatform.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\lock.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\model.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\recompiler.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\setuptools_ext.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\vengine_cpy.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\vengine_gen.py -> build\lib.win-amd64-cpython-311\cffi copying cffi\verifier.py -> build\lib.win-amd64-cpython-311\cffi copying cffi_init_.py -> build\lib.win-amd64-cpython-311\cffi copying cffi_cffi_include.h -> build\lib.win-amd64-cpython-311\cffi copying cffi\parse_c_type.h -> build\lib.win-amd64-cpython-311\cffi copying cffi_embedding.h -> build\lib.win-amd64-cpython-311\cffi running build_ext building '_cffi_backend' extension creating build\temp.win-amd64-cpython-311 creating build\temp.win-amd64-cpython-311\Release creating build\temp.win-amd64-cpython-311\Release\c creating build\temp.win-amd64-cpython-311\Release\c\libffi_msvc "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic/libffi_msvc -Ic:\Users\abhinav.m\Desktop\abhi\code\Projects\OpenAI_Experimentation.venv\include -IC:\Users\abhinav.m\AppData\Local\Programs\Python\Python311\include -IC:\Users\abhinav.m\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcc/_cffi_backend.c /Fobuild\temp.win-amd64-cpython-311\Release\c/_cffi_backend.obj _cffi_backend.c C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\minibuffer.h(66): warning C4996: 'PyObject_AsReadBuffer': deprecated in 3.0 C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\file_emulator.h(54): warning C4090: '=': different 'const' qualifiers C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\wchar_helper.h(83): warning C4996: 'PyUnicode_AS_UNICODE': deprecated in 3.3 C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\wchar_helper.h(84): warning C4996: 'PyUnicode_GET_SIZE': deprecated in 3.3 C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\wchar_helper.h(99): warning C4996: 'PyUnicode_GET_SIZE': deprecated in 3.3 C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\wchar_helper.h(118): warning C4996: 'PyUnicode_AS_UNICODE': deprecated in 3.3 c/_cffi_backend.c(315): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(316): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(352): error C2106: '=': left operand must be l-value c/_cffi_backend.c(355): error C2106: '=': left operand must be l-value c/_cffi_backend.c(938): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(947): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(957): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(993): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1007): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1385): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1386): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1388): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1398): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1399): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1401): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1420): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1515): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1517): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1537): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1540): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1865): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1870): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1884): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1933): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(1987): warning C4244: 'return': conversion from 'Py_hash_t' to 'long', possible loss of data c/_cffi_backend.c(3264): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(3358): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(3331): warning C4996: 'PyUnicode_GET_SIZE': deprecated in 3.3 c/_cffi_backend.c(3458): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(3792): error C2061: syntax error: identifier 'ssize_t' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_c' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_s' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_i' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_l' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ll' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_sc' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_uc' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_us' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ui' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ul' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ull' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_f' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_d' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ld' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_wc' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_b' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_i8' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_u8' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_i16' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_u16' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_i32' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_u32' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_i64' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_u64' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_il8' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ul8' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_il16' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ul16' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_il32' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ul32' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_il64' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ul64' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_if8' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_uf8' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_if16' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_uf16' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_if32' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_uf32' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_if64' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_uf64' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ip' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_up' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_im' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_um' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_pd' c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_sz' c/_cffi_backend.c(3804): error C2065: 'ssize_t': undeclared identifier c/_cffi_backend.c(3804): error C2037: left of 'y' specifies undefined struct/union 'aligncheck_ssz' c/_cffi_backend.c(3815): error C2059: syntax error: 'for' c/_cffi_backend.c(3815): error C2143: syntax error: missing '{' before '++' c/_cffi_backend.c(3815): error C2059: syntax error: '++' c/_cffi_backend.c(3815): error C2059: syntax error: ')' c/_cffi_backend.c(3829): error C2059: syntax error: 'if' c/_cffi_backend.c(3838): error C2059: syntax error: 'else' c/_cffi_backend.c(3855): error C2059: syntax error: 'else' c/_cffi_backend.c(3865): error C2099: initializer is not a constant c/_cffi_backend.c(3866): error C2040: 'td': 'int' differs in levels of indirection from 'CTypeDescrObject *' c/_cffi_backend.c(3867): error C2059: syntax error: 'if' c/_cffi_backend.c(3870): error C2143: syntax error: missing ')' before '->' c/_cffi_backend.c(3870): error C2143: syntax error: missing '{' before '->' c/_cffi_backend.c(3870): error C2059: syntax error: '->' c/_cffi_backend.c(3870): error C2059: syntax error: ')' c/_cffi_backend.c(3871): error C2143: syntax error: missing '{' before '->' c/_cffi_backend.c(3871): error C2059: syntax error: '->' c/_cffi_backend.c(3872): error C2143: syntax error: missing '{' before '->' c/_cffi_backend.c(3872): error C2059: syntax error: '->' c/_cffi_backend.c(3873): error C2143: syntax error: missing '{' before '->' c/_cffi_backend.c(3873): error C2059: syntax error: '->' c/_cffi_backend.c(3874): error C2143: syntax error: missing '{' before '->' c/_cffi_backend.c(3874): error C2059: syntax error: '->' c/_cffi_backend.c(3875): error C2059: syntax error: 'if' c/_cffi_backend.c(3879): error C2059: syntax error: 'else' c/_cffi_backend.c(3883): error C2143: syntax error: missing '{' before '->' c/_cffi_backend.c(3883): error C2059: syntax error: '->' c/_cffi_backend.c(3884): error C2040: 'unique_key': 'int [0]' differs in levels of indirection from 'const void *[1]' c/_cffi_backend.c(3885): error C2059: syntax error: 'return' c/_cffi_backend.c(3887): error C2143: syntax error: missing '{' before ':' c/_cffi_backend.c(3887): error C2059: syntax error: ':' c/_cffi_backend.c(3892): error C2059: syntax error: 'return' c/_cffi_backend.c(3893): error C2059: syntax error: '}' c/_cffi_backend.c(4027): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(4018): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(4039): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(4384): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(4425): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(4433): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(4251): warning C4996: 'PyUnicode_GetSize': deprecated in 3.3 c/_cffi_backend.c(4283): warning C4996: 'PyUnicode_GetSize': deprecated in 3.3 c/_cffi_backend.c(4353): warning C4996: 'PyUnicode_GetSize': deprecated in 3.3 c/_cffi_backend.c(4627): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned short', possible loss of data c/_cffi_backend.c(4742): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(4746): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(4762): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(4775): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(4804): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(4854): warning C4244: 'function': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data c/_cffi_backend.c(4939): warning C4244: 'function': conversion from 'Py_ssize_t' to 'long', possible loss of data c/_cffi_backend.c(5214): warning C4996: 'PyEval_InitThreads': deprecated in 3.9 c/_cffi_backend.c(5364): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data c/_cffi_backend.c(5475): error C2065: 'ssize_t': undeclared identifier c/_cffi_backend.c(5475): error C2146: syntax error: missing ';' before identifier 'index' c/_cffi_backend.c(5475): error C2065: 'index': undeclared identifier c/_cffi_backend.c(5475): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data c/_cffi_backend.c(5476): error C2065: 'index': undeclared identifier c/_cffi_backend.c(5490): error C2065: 'index': undeclared identifier c/_cffi_backend.c(5491): error C2065: 'index': undeclared identifier c/_cffi_backend.c(6427): error C2065: 'b_new_primitive_type': undeclared identifier c/_cffi_backend.c(6427): error C2099: initializer is not a constant c/_cffi_backend.c(6427): warning C4047: 'initializing': 'PyCFunction' differs in levels of indirection from 'int' C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\parse_c_type.c(217): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\parse_c_type.c(286): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\parse_c_type.c(340): warning C4244: '=': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\parse_c_type.c(444): warning C4244: 'return': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\realize_c_type.c(425): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\realize_c_type.c(430): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\realize_c_type.c(448): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\realize_c_type.c(460): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\realize_c_type.c(559): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\realize_c_type.c(621): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\realize_c_type.c(670): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\realize_c_type.c(723): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\ffi_obj.c(191): warning C4090: 'initializing': different 'const' qualifiers C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(126): warning C4244: 'initializing': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(129): warning C4090: 'initializing': different 'const' qualifiers C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(298): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(342): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(368): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(389): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(403): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(208): warning C4090: 'initializing': different 'const' qualifiers C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\lib_obj.c(506): warning C4090: '=': different 'const' qualifiers C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(190): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(235): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(267): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(268): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(280): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(281): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(301): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(321): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(322): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(327): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(347): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\cdlopen.c(351): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\call_python.c(20): error C2037: left of 'builtins' specifies undefined struct/union '_is' C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\call_python.c(73): warning C4090: '=': different 'const' qualifiers C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\call_python.c(90): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\call_python.c(160): error C2037: left of 'modules' specifies undefined struct/union '_is' C:\Users\abhinav.m\AppData\Local\Temp\pip-install-pq6tqre6\cffi_c366e6aa065e4486bf73eb5f9a4c57be\c\call_python.c(235): error C2037: left of 'modules' specifies undefined struct/union '_is' error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\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 cffi ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 23.2.1 -> 24.3.1 [notice] To update, run: python.exe -m pip install --upgrade pip