简体   繁体   English

Cant Open Ride Python27

[英]Cant Open Ride Python27

I have a problem here, I cant open ride.py in Python27 我在这里遇到问题,无法在Python27中打开ride.py
Before I try to open that, I have install this : 在尝试打开之前,我已经安装了:
1. Python27 1. Python27
I install this using installer package 我使用安装程序包安装
2. Robot Framework 2.机器人框架
C:\\Python27\\python -m pip install robotframework
3. Selenium Library 3.硒库
C:\\Python27\\python -m pip install robotframework-selenium2library
4. wxPython 4. wxPython
Download from here 这里下载
5. RIDE 5.乘坐
C:\\Python27\\python -m pip install robotframework-ride


But when I open Ride using this syntax 但是当我使用这种语法打开Ride时

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. 您可能正在从安装RIDE的地方调用不同的python。 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) . 您需要安装wxPython2.8-win32-unicode-2.8.12.1-py27.exe(32位版本)。 Don't forget remove your old one . 别忘了删除旧的。 wxPython2.8-win32-unicode-2.8.12.1-py27.exe wxPython2.8-Win32的Unicode的2.8.12.1-py27.exe

You have installed the different version of wxPython & Python installed in your machine. 您已经在计算机中安装了不同版本的wxPython和Python。 Make sure you should install the wxPython version same as the python version ie Python 2.7. 确保您安装的wxPython版本与python版本相同,即Python 2.7。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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