what happend when python software running

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
nhnam
Posts: 4
Joined: Tue 03 Oct 2006, 06:05

what happend when python software running

#1 Post by nhnam »

Hi,
there is a mes. when I tried to run gtkpycad.py or other python prog. in python 2.4 and python 2.5

Code: Select all

sh-3.00# gtkpycad.py
Traceback (most recent call last):
  File "/usr/bin/gtkpycad.py", line 32, in <module>
    import gtk
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 45, in <module>
  File "/usr/lib/python2.5/site-packages/cairo/__init__.py", line 1, in <module>
    from _cairo import *
ImportError: /usr/lib/python2.5/site-packages/cairo/_cairo.so: undefined symbol: cairo_ps_surface_dsc_begin_setup
please help me solve the error,

NHNam
Puppy 2.14 on Laptop compaq V2030

paulsiu
Posts: 187
Joined: Wed 17 Jan 2007, 02:58

#2 Post by paulsiu »

What are you trying to do? Are you using Python or some app that uses Python?

nhnam
Posts: 4
Joined: Tue 03 Oct 2006, 06:05

#3 Post by nhnam »

hi & thank
I'm trying to use some applications like gtkpycad, this application is python prog.

paulsiu
Posts: 187
Joined: Wed 17 Jan 2007, 02:58

#4 Post by paulsiu »

I haven't use any Python, so this is a guess. You probably have some sort of library incompatibility with Cairo and your current version of Python. Is there a way to reinstall Cairo?

Also see:

http://readlist.com/lists/archlinux.org ... 2585.html

Post Reply