编译ans后,安装wxPython Robot IDE无法看到它

编译ans后,安装wxPython Robot IDE无法看到它,python,compilation,makefile,wxpython,installation,Python,Compilation,Makefile,Wxpython,Installation,我刚刚编译了从sourceforge下载的wxPython2.8.12.1,其中包含以下make install日志(这只是安装部分)。我在主目录中运行了make,然后运行了makeinstall(使用此输出) 之后,我从这里下载了robotframework ide 然后跑: python setup.py install 具有以下输出: 为什么它看不见我的wxPython?我正在使用Red Hat 6,这可能是两个问题之一: 软件包安装不正确,需要重新安装 您安装了多个Python版本,

我刚刚编译了从sourceforge下载的wxPython
2.8.12.1
,其中包含以下make install日志(这只是安装部分)。我在主目录中运行了
make
,然后运行了
makeinstall
(使用此输出)

之后,我从这里下载了robotframework ide

然后跑:

python setup.py install
具有以下输出:


为什么它看不见我的wxPython?我正在使用Red Hat 6,这可能是两个问题之一:

  • 软件包安装不正确,需要重新安装
  • 您安装了多个Python版本,并针对其中一个安装了包
如果是后者,通常可以通过使用适当的Python重新安装来修复:

/path/to/python27 setup.py install 

如果运行Python 2.7,是否可以导入wx?@MikeDriscoll“ImportError:没有名为wx的模块”,则它没有正确安装,或者您安装了多个Python版本,并且它是针对2.7以外的内容安装的。@MikeDriscoll这就是问题所在-我已为Python 2.6安装了它,并希望使用2.7运行RIDE(我不知道这是怎么发生的)但问题已经解决了。你可以发布一个答案,解释它可能是为不同的python版本安装的。好的。我继续并提交了一个答案
...
byte-compiling /usr/local/lib/python2.7/site-packages/robotide/action/actioninfo.py to actioninfo.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/robotide/action/shortcut.py to shortcut.pyc
running install_egg_info
running egg_info
writing requirements to src/robotframework_ride.egg-info/requires.txt
writing src/robotframework_ride.egg-info/PKG-INFO
writing top-level names to src/robotframework_ride.egg-info/top_level.txt
writing dependency_links to src/robotframework_ride.egg-info/dependency_links.txt
reading manifest file 'src/robotframework_ride.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/robotframework_ride.egg-info/SOURCES.txt'
removing '/usr/local/lib/python2.7/site-packages/robotframework_ride-1.3-py2.7.egg-info' (and everything under it)
Copying src/robotframework_ride.egg-info to /usr/local/lib/python2.7/site-packages/robotframework_ride-1.3-py2.7.egg-info
running install_scripts
copying build/scripts-2.7/ride_postinstall.py -> /usr/local/bin
copying build/scripts-2.7/ride.py -> /usr/local/bin
changing mode of /usr/local/bin/ride_postinstall.py to 755
changing mode of /usr/local/bin/ride.py to 755
No wxPython installation detected!

Please ensure that you have wxPython installed before running RIDE.
You can obtain wxPython 2.8.12.1 from http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
/path/to/python27 setup.py install