aquacropos / aquacrop

AquaCrop-OSPy: Python implementation of AquaCrop-OS
https://aquacropos.github.io/aquacrop/
Apache License 2.0
102 stars 73 forks source link

installation error #124

Open MunsakaPKM opened 9 months ago

MunsakaPKM commented 9 months ago

Please help, I am not being allowed to install acquacrop and I've ve tried several ways and attempts and now almost giving up. The error message is saying this : " ERROR: Could not build wheels for cffi, numpy, which is required to install pyproject.toml-based projects" even though I do have the numpy and the other dependency installed, i really dont understand. I use windows 64 bits, python version 3.11. Below is the full error message, may you please assist thank you!

(base) C:\Users\Bukkale>pip install aquacrop Defaulting to user installation because normal site-packages is not writeable Collecting aquacrop Using cached aquacrop-3.0.1-py3-none-any.whl.metadata (6.3 kB) Collecting numba>=0.56.0 (from aquacrop) Using cached numba-0.59.0-cp311-cp311-win_amd64.whl.metadata (2.8 kB) Collecting numpy==1.22.0 (from aquacrop) Using cached numpy-1.22.0.zip (11.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: pandas>=1.3.5 in c:\users\bukkale\appdata\roaming\python\python311\site-packages (from aquacrop) (2.1.4) Requirement already satisfied: tqdm>=4.64.0 in c:\programdata\miniconda3\lib\site-packages (from aquacrop) (4.65.0) Collecting cffi==1.15.0 (from aquacrop) Using cached cffi-1.15.0.tar.gz (484 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: pycparser in c:\programdata\miniconda3\lib\site-packages (from cffi==1.15.0->aquacrop) (2.21) Collecting llvmlite<0.43,>=0.42.0dev0 (from numba>=0.56.0->aquacrop) Using cached llvmlite-0.42.0-cp311-cp311-win_amd64.whl.metadata (4.9 kB) INFO: pip is looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while. Collecting pandas>=1.3.5 (from aquacrop) Using cached pandas-2.2.0-cp311-cp311-win_amd64.whl.metadata (19 kB) Using cached pandas-2.1.3-cp311-cp311-win_amd64.whl.metadata (18 kB) Using cached pandas-2.1.2-cp311-cp311-win_amd64.whl.metadata (18 kB) Using cached pandas-2.1.1-cp311-cp311-win_amd64.whl.metadata (18 kB) Using cached pandas-2.1.0-cp311-cp311-win_amd64.whl.metadata (18 kB) Using cached pandas-2.0.3-cp311-cp311-win_amd64.whl.metadata (18 kB) Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\bukkale\appdata\roaming\python\python311\site-packages (from pandas>=1.3.5->aquacrop) (2.8.2) Requirement already satisfied: pytz>=2020.1 in c:\users\bukkale\appdata\roaming\python\python311\site-packages (from pandas>=1.3.5->aquacrop) (2023.3.post1) Requirement already satisfied: tzdata>=2022.1 in c:\users\bukkale\appdata\roaming\python\python311\site-packages (from pandas>=1.3.5->aquacrop) (2023.3) Using cached pandas-2.0.2-cp311-cp311-win_amd64.whl.metadata (18 kB) INFO: pip is still looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while. Using cached pandas-2.0.1-cp311-cp311-win_amd64.whl (10.6 MB) Using cached pandas-2.0.0-cp311-cp311-win_amd64.whl (11.2 MB) Using cached pandas-1.5.3-cp311-cp311-win_amd64.whl (10.3 MB) Using cached pandas-1.5.2-cp311-cp311-win_amd64.whl (10.3 MB) Using cached pandas-1.5.1-cp311-cp311-win_amd64.whl (10.3 MB) Requirement already satisfied: colorama in c:\programdata\miniconda3\lib\site-packages (from tqdm>=4.64.0->aquacrop) (0.4.6) Requirement already satisfied: six>=1.5 in c:\users\bukkale\appdata\roaming\python\python311\site-packages (from python-dateutil>=2.8.2->pandas>=1.3.5->aquacrop) (1.16.0) Using cached aquacrop-3.0.1-py3-none-any.whl (2.5 MB) Using cached numba-0.59.0-cp311-cp311-win_amd64.whl (2.6 MB) Using cached llvmlite-0.42.0-cp311-cp311-win_amd64.whl (28.1 MB) Building wheels for collected packages: cffi, numpy Building wheel for cffi (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [146 lines of output] _configtest.c C:\ProgramData\miniconda3\Lib\site-packages\setuptools\config\setupcfg.py:293: _DeprecatedConfig: Deprecated config in setup.cfg !!

          ********************************************************************************
          The license_file parameter is deprecated, use license_files instead.

          This deprecation is overdue, please update your project and remove deprecated
          calls to avoid build errors in the future.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    parsed = self.parsers.get(option_name, lambda x: x)(value)
  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\error.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\pkgconfig.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
  copying cffi\_cffi_errors.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_x86_x64
  "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic/libffi_x86_x64 -IC:\ProgramData\miniconda3\include -IC:\ProgramData\miniconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\winrt" /Tcc/_cffi_backend.c /Fobuild\temp.win-amd64-cpython-311\Release\c/_cffi_backend.obj
  _cffi_backend.c
  c/_cffi_backend.c(406): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(407): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(1098): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1107): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1132): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1155): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1174): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1188): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1337): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1339): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1689): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1690): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1692): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1704): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1705): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1708): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1727): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1771): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1836): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1838): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1849): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(1852): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(2243): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(2248): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(2252): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(2267): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(2326): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(3256): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(3977): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(4077): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(4193): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(4234): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(4506): warning C4133: 'function': incompatible types - from 'PyUnicodeObject *' to 'PyObject *'
  c/_cffi_backend.c(4503): warning C4996: 'PyUnicode_GetSize': deprecated in 3.3
  c:\programdata\miniconda3\include\unicodeobject.h(177): note: see declaration of 'PyUnicode_GetSize'
  c/_cffi_backend.c(4800): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(4818): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(4959): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(4950): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(4971): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(5367): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(5414): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(5421): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(5640): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned short', possible loss of data
  c/_cffi_backend.c(5769): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(5773): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(5789): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(5802): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
  c/_cffi_backend.c(5831): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c/_cffi_backend.c(5897): warning C4244: 'function': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  c/_cffi_backend.c(5985): warning C4244: 'function': conversion from 'Py_ssize_t' to 'long', possible loss of data
  c/_cffi_backend.c(6535): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\parse_c_type.c(218): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\parse_c_type.c(287): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\parse_c_type.c(341): warning C4244: '=': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\parse_c_type.c(445): warning C4244: 'return': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\realize_c_type.c(425): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\realize_c_type.c(430): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\realize_c_type.c(448): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\realize_c_type.c(460): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\realize_c_type.c(559): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\realize_c_type.c(621): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\realize_c_type.c(700): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\realize_c_type.c(753): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\lib_obj.c(130): warning C4244: 'initializing': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\lib_obj.c(306): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\lib_obj.c(358): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\lib_obj.c(384): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\lib_obj.c(405): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\lib_obj.c(419): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(170): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(215): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(247): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(248): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(260): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(261): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(281): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(301): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(302): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(307): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(327): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\cdlopen.c(331): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  c:\users\bukkale\appdata\local\temp\pip-install-rojwxmr5\cffi_b2f7f2753b6842e8a36eb0656e0de6ac\c\call_python.c(110): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
  "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic/libffi_x86_x64 -IC:\ProgramData\miniconda3\include -IC:\ProgramData\miniconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\winrt" /Tcc/libffi_x86_x64\ffi.c /Fobuild\temp.win-amd64-cpython-311\Release\c/libffi_x86_x64\ffi.obj
  ffi.c
  "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic/libffi_x86_x64 -IC:\ProgramData\miniconda3\include -IC:\ProgramData\miniconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\winrt" /Tcc/libffi_x86_x64\prep_cif.c /Fobuild\temp.win-amd64-cpython-311\Release\c/libffi_x86_x64\prep_cif.obj
  prep_cif.c
  c/libffi_x86_x64\prep_cif.c(169): warning C4267: '+=': conversion from 'size_t' to 'unsigned int', possible loss of data
  "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic/libffi_x86_x64 -IC:\ProgramData\miniconda3\include -IC:\ProgramData\miniconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\winrt" /Tcc/libffi_x86_x64\types.c /Fobuild\temp.win-amd64-cpython-311\Release\c/libffi_x86_x64\types.obj
  types.c
  "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\ProgramData\miniconda3\libs /LIBPATH:C:\ProgramData\miniconda3 /LIBPATH:C:\ProgramData\miniconda3\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\um\x64" /EXPORT:PyInit__cffi_backend build\temp.win-amd64-cpython-311\Release\c/_cffi_backend.obj build\temp.win-amd64-cpython-311\Release\c/libffi_x86_x64\ffi.obj build\temp.win-amd64-cpython-311\Release\c/libffi_x86_x64\prep_cif.obj build\temp.win-amd64-cpython-311\Release\c/libffi_x86_x64\types.obj /OUT:build\lib.win-amd64-cpython-311\_cffi_backend.cp311-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-311\Release\c\_cffi_backend.cp311-win_amd64.lib c/libffi_x86_x64\win64.obj
  _cffi_backend.obj : warning LNK4197: export 'PyInit__cffi_backend' specified multiple times; using first specification
     Creating library build\temp.win-amd64-cpython-311\Release\c\_cffi_backend.cp311-win_amd64.lib and object build\temp.win-amd64-cpython-311\Release\c\_cffi_backend.cp311-win_amd64.exp
  Generating code
  Finished generating code
  LINK : fatal error LNK1158: cannot run 'rc.exe'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit code 1158
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cffi Running setup.py clean for cffi Building wheel for numpy (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for numpy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [266 lines of output] setup.py:66: RuntimeWarning: NumPy 1.22.0 may not yet support Python 3.11. warnings.warn( Running from numpy source directory. Processing numpy/random_bounded_integers.pxd.in Processing numpy/random\bit_generator.pyx Processing numpy/random\mtrand.pyx Processing numpy/random_bounded_integers.pyx.in Processing numpy/random_common.pyx Processing numpy/random_generator.pyx Processing numpy/random_mt19937.pyx Processing numpy/random_pcg64.pyx Processing numpy/random_philox.pyx Processing numpy/random_sfc64.pyx Cythonizing sources INFO: blas_opt_info: INFO: blas_armpl_info: INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils INFO: customize MSVCCompiler INFO: libraries armpl_lp64_mp not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: blas_mkl_info: INFO: libraries mkl_rt not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: blis_info: INFO: libraries blis not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: openblas_info: INFO: libraries openblas not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']' INFO: customize GnuFCompiler WARN: Could not locate executable g77 WARN: Could not locate executable f77 INFO: customize IntelVisualFCompiler WARN: Could not locate executable ifort WARN: Could not locate executable ifl INFO: customize AbsoftFCompiler WARN: Could not locate executable f90 INFO: customize CompaqVisualFCompiler WARN: Could not locate executable DF INFO: customize IntelItaniumVisualFCompiler WARN: Could not locate executable efl INFO: customize Gnu95FCompiler WARN: Could not locate executable gfortran WARN: Could not locate executable f95 INFO: customize G95FCompiler WARN: Could not locate executable g95 INFO: customize IntelEM64VisualFCompiler INFO: customize IntelEM64TFCompiler WARN: Could not locate executable efort WARN: Could not locate executable efc INFO: customize PGroupFlangCompiler WARN: Could not locate executable flang WARN: don't know how to compile Fortran code on platform 'nt' INFO: NOT AVAILABLE INFO: INFO: accelerate_info: INFO: NOT AVAILABLE INFO: INFO: atlas_3_10_blas_threads_info: INFO: Setting PTATLAS=ATLAS INFO: libraries tatlas not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: atlas_3_10_blas_info: INFO: libraries satlas not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: atlas_blas_threads_info: INFO: Setting PTATLAS=ATLAS INFO: libraries ptf77blas,ptcblas,atlas not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: atlas_blas_info: INFO: libraries f77blas,cblas,atlas not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\system_info.py:2077: UserWarning: Optimized (vendor) Blas libraries are not found. Falls back to netlib Blas library which has worse performance. A better performance should be easily gained by switching Blas library. if self._calc_info(blas): INFO: blas_info: INFO: libraries blas not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\system_info.py:2077: UserWarning: Blas (http://www.netlib.org/blas/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [blas]) or by setting the BLAS environment variable. if self._calc_info(blas): INFO: blas_src_info: INFO: NOT AVAILABLE INFO: C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\system_info.py:2077: UserWarning: Blas (http://www.netlib.org/blas/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [blas_src]) or by setting the BLAS_SRC environment variable. if self._calc_info(blas): INFO: NOT AVAILABLE INFO: non-existing path in 'numpy\distutils': 'site.cfg' INFO: lapack_opt_info: INFO: lapack_armpl_info: INFO: libraries armpl_lp64_mp not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: lapack_mkl_info: INFO: libraries mkl_rt not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: openblas_lapack_info: INFO: libraries openblas not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: openblas_clapack_info: INFO: libraries openblas,lapack not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: flame_info: INFO: libraries flame not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: INFO: atlas_3_10_threads_info: INFO: Setting PTATLAS=ATLAS INFO: libraries tatlas,tatlas not found in C:\ProgramData\miniconda3\lib INFO: libraries tatlas,tatlas not found in C:\ INFO: libraries tatlas,tatlas not found in C:\ProgramData\miniconda3\libs INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> INFO: NOT AVAILABLE INFO: INFO: atlas_3_10_info: INFO: libraries satlas,satlas not found in C:\ProgramData\miniconda3\lib INFO: libraries satlas,satlas not found in C:\ INFO: libraries satlas,satlas not found in C:\ProgramData\miniconda3\libs INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'> INFO: NOT AVAILABLE INFO: INFO: atlas_threads_info: INFO: Setting PTATLAS=ATLAS INFO: libraries ptf77blas,ptcblas,atlas not found in C:\ProgramData\miniconda3\lib INFO: libraries ptf77blas,ptcblas,atlas not found in C:\ INFO: libraries ptf77blas,ptcblas,atlas not found in C:\ProgramData\miniconda3\libs INFO: <class 'numpy.distutils.system_info.atlas_threads_info'> INFO: NOT AVAILABLE INFO: INFO: atlas_info: INFO: libraries f77blas,cblas,atlas not found in C:\ProgramData\miniconda3\lib INFO: libraries f77blas,cblas,atlas not found in C:\ INFO: libraries f77blas,cblas,atlas not found in C:\ProgramData\miniconda3\libs INFO: <class 'numpy.distutils.system_info.atlas_info'> INFO: NOT AVAILABLE INFO: INFO: lapack_info: INFO: libraries lapack not found in ['C:\ProgramData\miniconda3\lib', 'C:\', 'C:\ProgramData\miniconda3\libs'] INFO: NOT AVAILABLE INFO: C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\system_info.py:1902: UserWarning: Lapack (http://www.netlib.org/lapack/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [lapack]) or by setting the LAPACK environment variable. return getattr(self, '_calcinfo{}'.format(name))() INFO: lapack_src_info: INFO: NOT AVAILABLE INFO: C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\system_info.py:1902: UserWarning: Lapack (http://www.netlib.org/lapack/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [lapack_src]) or by setting the LAPACK_SRC environment variable. return getattr(self, '_calcinfo{}'.format(name))() INFO: NOT AVAILABLE INFO: INFO: numpy_linalg_lapack_lite: INFO: FOUND: INFO: language = c INFO: define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOLSUFFIX', '64')] INFO: Warning: attempted relative import with no known parent package C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\dist.py:275: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running bdist_wheel running build running config_cc INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src INFO: build_src INFO: building py_modules sources creating build creating build\src.win-amd64-3.11 creating build\src.win-amd64-3.11\numpy creating build\src.win-amd64-3.11\numpy\distutils INFO: building library "npymath" sources Generating code Finished generating code LINK : fatal error LNK1158: cannot run 'rc.exe' Traceback (most recent call last): File "C:\Users\Bukkale\AppData\Roaming\Python\Python311\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Users\Bukkale\AppData\Roaming\Python\Python311\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main json_out['return_val'] = hook(hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bukkale\AppData\Roaming\Python\Python311\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools\build_meta.py", line 230, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools\build_meta.py", line 215, in _build_with_temp_dir self.run_setup() File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools\build_meta.py", line 268, in run_setup self).run_setup(setup_script=setup_script) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools\build_meta.py", line 158, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 450, in setup_package() File "setup.py", line 442, in setup_package setup(metadata) File "C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\core.py", line 169, in setup return old_setup(new_attr) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools__init__.py", line 153, in setup return distutils.core.setup(attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\command\build.py", line 61, in run old_build.run(self) File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\Bukkale\AppData\Local\Temp\pip-build-env-tecobpkf\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\command\build_src.py", line 144, in run self.build_sources() File "C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\command\build_src.py", line 155, in build_sources self.build_library_sources(*libname_info) File "C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\command\build_src.py", line 288, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\distutils\command\build_src.py", line 378, in generate_sources source = func(extension, build_dir) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bukkale\AppData\Local\Temp\pip-install-rojwxmr5\numpy_79bf83e0077f4699b76f55dc90cc79a1\numpy\core\setup.py", line 701, in get_mathlib_info raise RuntimeError( RuntimeError: Broken toolchain: cannot link a simple C program. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for numpy Failed to build cffi numpy ERROR: Could not build wheels for cffi, numpy, which is required to install pyproject.toml-based projects