panda包导入出错 python
报错信息:Traceback (most recent call last):
File "<input>", line 1, in <module>
File "D:\PyCharm 2018.2.4\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars)# execute the script
File "D:\PyCharm 2018.2.4\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/PycharmProject/KNN.py", line 3, in <module>
import panda as pd
File "D:\PyCharm 2018.2.4\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 20, in do_import
module = self._system_import(name, *args, **kwargs)
File "D:\PycharmProject\venv\lib\site-packages\panda\__init__.py", line 1, in <module>
from request import PandaRequest
ImportError: cannot import name 'PandaRequest' from 'request' (D:\PycharmProject\venv\lib\site-packages\request\__init__.py)该怎么解决 急 在线等
检查下init文件 文件是否存在 检查文件路径还有代码指向的路径
页:
[1]