卡住了导入Selenium2Library for Robotframework。导入Selenium2Library
当试图验证我的安装Selenium2Library我得到在Python以下错误壳
>>> import Selenium2Library
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import Selenium2Library
File "C:\Users\user\AppData\Local\Programs\Python\Python35-32\lib\site-packages\robotframework_selenium2library-1.7.4-py3.5-win32.egg\Selenium2Library\__init__.py", line 2, in <module>
from keywords import *
ImportError: No module named 'keywords'
>>>
我用不同的模块之前有这个错误,并能够使用的easy_install(模块名称)来修复它然而这样做的关键字给出这个结果
Searching for keywords
Reading https://pypi.python.org/simple/keywords/
Couldn't find index page for 'keywords' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for keywords
error: Could not find suitable distribution for Requirement.parse('keywords')
任何意见非常赞赏,因为我不是一个真正的程序员,但测试人员。 谢谢
是否使用pip安装它? – hashcode55
是使用PIP安装的。 –
给出响应要求已更新:robotframework在c:\ users \ user \ appdata \ local \ programs \ python \ python35-32 \ lib \ site-packages中 –