need help in wxcairo

16 views
Skip to first unread message

Narendra Sisodiya

unread,
Jun 3, 2011, 12:41:06 PM6/3/11
to IITDLUG, NCR Python Users Group India
getting error

  File "./viewer.py", line 12, in <module>
    import wx.lib.wxcairo as wxcairo
ImportError: No module named wxcairo


Plz help....
Distro - UBuntu 9.10

--
┌─────────────────────────┐
│    Narendra Sisodiya
│    http://narendrasisodiya.com
└─────────────────────────┘

Nandeep Mali

unread,
Jun 3, 2011, 12:54:37 PM6/3/11
to NCR Python Users Group India, IITDLUG
On Fri, Jun 3, 2011 at 10:11 PM, Narendra Sisodiya
<nare...@narendrasisodiya.com> wrote:
> getting error
>
>   File "./viewer.py", line 12, in <module>
>     import wx.lib.wxcairo as wxcairo
> ImportError: No module named wxcairo

Did you build the wx python library with cairo support? Did you
install it via PIL? If yes, did you have cairo dev libs installed?
More information would really help.

Narendra Sisodiya

unread,
Jun 3, 2011, 2:18:16 PM6/3/11
to iit...@googlegroups.com, NCR Python Users Group India
I need apt-get command, 

gajendra khanna

unread,
Jun 4, 2011, 2:28:47 AM6/4/11
to iit...@googlegroups.com
Hi
This is link to wxcairo webpage:-
http://code.google.com/p/wxcairo/
I find this page showing wxcairo.py
http://www.java2s.com/Open-Source/Python/GUI/wxPython/wxPython-src-2.8.11.0/wxPython/wx/lib/wxcairo.py.htm

On the wx site this module is discussed here:-
http://www.wxpython.org/docs/api/wx.lib.wxcairo-module.html
The source tar ball is available there. I don't find a deb package though.

There is a python-cairo package,of course, but thats for directly
using the library.
Best Regards
Gajendra

Reply all
Reply to author
Forward
0 new messages