程序中使用pandas进行表格文件处理时,报错了numpy的导入失败问题,错误提示是这样的
Traceback (most recent call last):
File "D:/pandastest.py", line 1, in <module>
import pandas as pd
File "E:\Python\Python38\lib\site-packages\pandas\__init__.py", line 16, in <module>
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.8 from "E:\Python\Python38\python_d.exe"
* The NumPy version is: "1.24.4"
and make sure that they are the versions you expect.
Please carefully study t