安装好了以下whl:
Package Version
et-xmlfile 1.1.0
numpy 1.25.1
openpyxl 3.1.2
pandas 2.0.3
pip 23.2
python-dateutil 2.8.2
pytz 2023.3
setuptools 65.5.0
six 1.16.0
tzdata 2023.3
import pandas ,报错如下:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\dell\AppData\Local\Programs\Python\Python312\Lib\site-packages\pandas_init_.py", line 16, in
raise ImportError(
ImportError: Unable to import required dependencies:
numpy:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
- The Python version is: Python3.12 from "C:\Users\dell\AppData\Local\Programs\Python\Python312\python.exe"
- The NumPy version is: "1.25.1"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: No module named 'numpy.core._multiarray_umath'