最后出错的是在这里
building ‘pandas._libs.parsers’ extension
“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe” /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DNPY_NO_DEPRECATED_API=0 -I.\pandas_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -IC:\Users\zeyuanfan\AppData\Local\Temp\pip-build-env-14ip14ol\overlay\Lib\site-packages\numpy\core\include -IF:\DeepLearning\my_deeplearn_env\include -IC:\Python3\include -IC:\Python3\Include “-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\include” “-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include”
“-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um” “-IF:\Windows Kits\10\include\10.0.17763.0\ucrt” “-IF:\Windows Kits\10\include\10.0.17763.0\shared” “-IF:\Windows Kits\10\include\10.0.17763.0\um” “-IF:\Windows Kits\10\include\10.0.17763.0\winrt” “-IF:\Windows Kits\10\include\10.0.17763.0\cppwinrt” /Tcpandas/_libs/src/parser/io.c /Fobuild\temp.win-amd64-cpython-310\Release\pandas/_libs/src/parser/io.obj
io.c
pandas/_libs/src/klib\khash.h(705): warning C4090: ‘function’: different ‘const’ qualifiers
pandas/_libs/src/parser/io.c(139): error C2065: ‘ssize_t’: undeclared identifier
pandas/_libs/src/parser/io.c(139): error C2146: syntax error: missing ‘;’ before identifier ‘rv’
pandas/_libs/src/parser/io.c(139): error C2065: ‘rv’: undeclared identifier
pandas/_libs/src/parser/io.c(145): error C2065: ‘rv’: undeclared identifier
pandas/_libs/src/parser/io.c(145): warning C4267: ‘function’: conversion from ‘size_t’ to ‘unsigned int’, possible loss of data
pandas/_libs/src/parser/io.c(146): error C2065: ‘rv’: undeclared identifier
pandas/_libs/src/parser/io.c(157): error C2065: ‘rv’: undeclared identifier
pandas/_libs/src/parser/io.c(158): error C2065: ‘rv’: undeclared identifier
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\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 pandas
Failed to build pandas
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects
这是什么意思?是pandas装不上吗?
可是我pip install pandas提示
Requirement already satisfied: pandas in f:\deeplearning\my_deeplearn_env\lib\site-packages (2.0.0) Requirement already satisfied: numpy>=1.21.0 in f:\deeplearning\my_deeplearn_env\lib\site-packages (from pandas) (1.24.2) Requirement already satisfied: pytz>=2020.1 in f:\deeplearning\my_deeplearn_env\lib\site-packages (from pandas) (2023.3) Requirement already satisfied: python-dateutil>=2.8.2 in
Python版本是3.10.6