当我尝试从文本编辑器运行以下源代码时
import pandas as pd
import numpy as np
csv = pd.read_csv("Koreaboo1.csv", encoding="utf8")
print(csv())
我收到以下错误
File "C:\Users\sabilla opi aprilia\PycharmProjects\readwrite.py", line 1, in <module>
import pandas as pd
File "C:\Users\sabilla opi aprilia\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\__init__.py", line 17, in <module>
"Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
ImportError: Unable to import required dependencies:
numpy: cannot import name 'format_exception_only' from 'traceback' (C:\Users\sabilla opi aprilia\AppData\Local\Programs\Python\Python37\lib\traceback.py)
pytz: cannot import name 'format_exception_only' from 'traceback'
我已经检查了终端熊猫是否已安装,顺便说一句,我是python的新手。