Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
523 views
in Technique[技术] by (71.8m points)

robotframework - Robot framework installation issue for wxPython

I am trying to install robot framework but getting an error for wxPython version. When I type ride.py in cmd then an error message is shown:

"C:Userssnar13>ride.py Wrong wxPython version. You need to install wxPython 2.8.12.1 with Unicode support to run RIDE. wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpytho n/files/wxPython/2.8.12.1/"

I have done following steps:

  • Installed python version 2.7, set an environment variable and verified in cmd by typing “python –version” with output “Python 2.7.12”.
  • Installed Robot framework with PIP command i.e. “pip install robotframework” and verified in cmd by typing “pybot --version” with output “Robot Framework 3.0 (Python 2.7.12 on win32)”
  • Installed Selenium2Library with PIP command i.e. “pip install robotframework-selenium2library”
  • Installed Selenium library with PIP command pip install –U selenium.
  • Installed wxPython 3.0.2.0 for Python 2.7
  • Installed Robot Framework IDE – RIDE with PIP command i.e. “pip install robotframework-ride”
  • When I try to open RIDE framework by typing “ride.py” in cmd it throws an error i.e. “C:Userssnar13>ride.py Wrong wxPython version. You need to install wxPython 2.8.12.1 with Unicode support to run RIDE. wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpytho n/files/wxPython/2.8.12.1/" I tried and run multiple versions of wxPython but same error is shown: wxPython version:
  • wxPython2.8-win64-unicode-2.8.12.1-py26
  • wxPython2.8-win64-unicode-2.8.12.1-py27
  • wxPython3.0-win32-3.0.2.0-py27
  • wxPython3.0-win64-3.0.2.0-py27 System Details:
  • OS: Windows 7 Enterprise 64 bit
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The wxPython 2.8.12.1 architecture must match the Python installation. Looks like you need to install the 32bit version, probably wxPython2.8-win32-unicode-2.8.12.1-py27.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...