On Sat, Nov 08, 2003 at 01:25:50PM +0100, Gil Orazi wrote:
> File "/home/go2/Programs/pygtk-2.0.0/codegen/scmexpr.py", line 7, in ?
> from cStringIO import StringIO
> ImportError: No module named cStringIO
Wow, that's a weird one. Every Python version I've used from 1.5 onwards
has included cStringIO. Why doesn't Suse's version include it?
Can you run this standalone command just to see if we're not seeing
something more bizarre:
[EMAIL PROTECTED]:~$ python
Python 2.1.3 (#1, Sep 7 2002, 15:29:56)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> from cStringIO import StringIO
>>>
On my installation it works fine. On yours it probably won't.
A workaround is to change scmexpr.py to import StringIO, which *should*
be available (since it's pure Python, and not compiled as a module). But
it's still damned weird.
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/