|
在Pycharm中导入了PAM30模块,想试用下PAMIE功能,才键入以下代码:
from PAM30 import PAMIE
ie = PAMIE() #打开浏览器
ie.navigate('http://www.baidu.com') #打开网址
就出现错误提示:Traceback (most recent call last): File "C:/Users/James/PycharmProjects/Getprice/test4.py", line 3, in <module> ie = PAMIE() #打开浏览器 File "C:\Users\James\PycharmProjects\venv\lib\site-packages\PAM30.py", line 64, in __init__ self._ie.Document.getElementsByTagName(tag) # supported in the format frame1.frame2.frame3AttributeError: 'PAMIE' object has no attribute '_ie'Process finished with exit code 1
进行不下去了,求大家帮忙解决!用的是Python3.6.6版本。PAM30
|
|