简体   繁体   中英

Cant Open Ride Python27

I have a problem here, I cant open ride.py in Python27
Before I try to open that, I have install this :
1. Python27
I install this using installer package
2. Robot Framework
C:\\Python27\\python -m pip install robotframework
3. Selenium Library
C:\\Python27\\python -m pip install robotframework-selenium2library
4. wxPython
Download from here
5. RIDE
C:\\Python27\\python -m pip install robotframework-ride


But when I open Ride using this syntax

C:\Python27\Scripts\python ride.py

It show this :

C:\Python27\Scripts>python ride.py
Traceback (most recent call last):
  File "ride.py", line 20, in <module>
    from robotide import main
ImportError: No module named 'robotide'


How can I handle that? Thank you

You are probably calling a different python from where you installed RIDE. Try like this:

C:\Python27\python -m robotide.__init__

You need to install wxPython2.8-win32-unicode-2.8.12.1-py27.exe (32 bit version) . Don't forget remove your old one . wxPython2.8-win32-unicode-2.8.12.1-py27.exe

You have installed the different version of wxPython & Python installed in your machine. Make sure you should install the wxPython version same as the python version ie Python 2.7.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM