numpy\core\include\numpy/npy_3kcompat.h(210): warning C4244: “=”: 从“Py_ssize_t”转换到“int”,可能丢失数据
C:\Users\admin\AppData\Local\Temp\pip-install-c7wxu2co\numpy_4aa8d691d02b4e0d86cbd9962cf6da7a\numpy\core\src\multiarray\common.h(239): warning C4244: “return”: 从“npy_uintp”转换到“int”,可能丢失数据
C:\Users\admin\AppData\Local\Temp\pip-install-c7wxu2co\numpy_4aa8d691d02b4e0d86cbd9962cf6da7a\numpy\core\src\multiarray\common.h(307): warning C4244: “return”: 从“npy_intp”转换到“int”,可能丢失数据
numpy\core\src\multiarray\scalarapi.c(74): warning C4996: 'PyUnicode_AS_DATA': deprecated in 3.3
numpy\core\src\multiarray\scalarapi.c(135): warning C4996: 'PyUnicode_AS_DATA': deprecated in 3.3
numpy\core\src\multiarray\scalarapi.c(326): warning C4244: “函数”: 从“Py_ssize_t”转换到“int”,可能丢失数据
numpy\core\src\multiarray\scalarapi.c(327): warning C4244: “函数”: 从“npy_intp”转换到“int”,可能丢失数据
numpy\core\src\multiarray\scalarapi.c(326): warning C4996: 'PyUnicode_GET_SIZE': deprecated in 3.3
numpy\core\src\multiarray\scalarapi.c(571): warning C4244: “=”: 从“Py_ssize_t”转换到“int”,可能丢失数据
numpy\core\src\multiarray\scalarapi.c(574): warning C4244: “=”: 从“Py_ssize_t”转换到“int”,可能丢失数据
numpy\core\src\multiarray\scalarapi.c(574): warning C4996: 'PyUnicode_GET_DATA_SIZE': deprecated in 3.3
numpy\core\src\multiarray\scalarapi.c(798): error C2106: “=”: 左操作数必须为左值
error: Command "D:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild\src.win-amd64-3.1\numpy\core\src\umath -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath -Ibuild\src.win-amd64-3.1\numpy\core\src\common -Inumpy\core\include -Ibuild\src.win-amd64-3.1\numpy\core\include/numpy -Inumpy\core\src\common -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -ID:\Program Files\Python\include -ID:\Program Files\Python\Include -Ibuild\src.win-amd64-3.1\numpy\core\src\common -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath -Ibuild\src.win-amd64-3.1\numpy\core\src\common -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath -ID:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include -ID:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\ATLMFC\include -ID:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -ID:\Windows Kits\10\include\10.0.20348.0\ucrt -ID:\Windows Kits\10\\include\10.0.20348.0\\um -ID:\Windows Kits\10\\include\10.0.20348.0\\shared -ID:\Windows Kits\10\\include\10.0.20348.0\\winrt -ID:\Windows Kits\10\\include\10.0.20348.0\\cppwinrt /Tcnumpy\core\src\multiarray\scalarapi.c /Fobuild\temp.win-amd64-cpython-311\Release\numpy\core\src\multiarray\scalarapi.obj" failed with exit status 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
error: subprocess-exited-with-error
python setup.py clean did not run successfully.
exit code: 1
[10 lines of output]
Running from numpy source directory.
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.