|
楼主 |
发表于 2013-3-9 10:03:14
|
显示全部楼层
我从新安装了一下python(用的是apt-get python_dev),结果能够启动skyeye了,可是启动又有错误!!!!
错误如下:
mei@mei-ThinkPad-R400:/opt/skyeye/bin$ skyeye
SkyEye 1.3.5
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/skyeye/bin/skyeye_cli.py", line 4, in <module>
from skyeye_common_module import *
File "/opt/skyeye/bin/skyeye_common_module.py", line 3, in <module>
from ctypes import *
File "/usr/local/lib/python2.7/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: /usr/local/lib/python2.7/lib-dynload/_ctypes.so: undefined symbol: PyFloat_Type
我在网上,找了到了很多人都遇到这样的问题。找到唯一的一个解决办法是:
python的问题,安装需要加参数--enable-shared(./configure --enable-shared)
我按照这个思路,从新安装了python2.7.3,然后从新安装了skyeye 结果还是出新错误undefined symbol: PyFloat_Type?这个是什么原因? 怎么解决?
我用的系统是ubuntu 12.04LTS! |
|