老师,我得python版本是3.9的,pandas版本是1.2.4的。然后按照你的说法去执行了,首先是报错找不到对应的版本。我就去去了pandas的官网,未发现0.24.3版本,但有0.24.2版本。又执行了:pip install pandas==0.24.2,发现安装还是报错,具体如下:
ERROR: Command errored out with exit status 1: 'c:\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'D:\\Users\\Tiancom\\AppData\\Local\\Temp\\pip-install-rejjaiti\\pandas_eb2982fe568740d68d2356575ee90969\\setup.py'"'"'; __file__='"'"'D:\\Users\\Tiancom\\AppData\\Local\\Temp\\pip-install-rejjaiti\\pandas_eb2982fe568740d68d2356575ee90969\\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 'D:\Users\Tiancom\AppData\Local\Temp\pip-record-9h4k99c9\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python39\Include\pandas' Check the logs for full command output
这是什么原因呢,pandas0.24.2 与python3.9版本不兼容?