51Testing软件测试论坛
标题:
panda包导入出错 python
[打印本页]
作者:
测试积点老人
时间:
2019-2-27 09:33
标题:
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)
复制代码
该怎么解决 急 在线等
作者:
qqq911
时间:
2019-2-28 10:37
检查下init文件
作者:
jingzizx
时间:
2019-2-28 12:43
文件是否存在
作者:
abcsell
时间:
2019-2-28 13:42
检查文件路径还有代码指向的路径
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2