View Single Post
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#77
Originally Posted by caco3 View Post
Ok, I was now able to install shedskin on my SDK. I had to chmod some directories with my main root account. fakeroot in scratchbox was not able to do it.

Shedskin now got successful installed, but when I want to use it, I get this error:
Code:
sh-2.05b# shedskin test
Traceback (most recent call last):
  File "/scratchbox/tools/bin/shedskin", line 2, in ?
    import shedskin
  File "/scratchbox/tools/lib/python2.3/site-packages/shedskin/__init__.py", line 10, in ?
    import infer, cpp, annotate
  File "/scratchbox/tools/lib/python2.3/site-packages/shedskin/infer.py", line 39, in ?
    from shared import *
  File "/scratchbox/tools/lib/python2.3/site-packages/shedskin/shared.py", line 524, in ?
    errormsgs = set()
NameError: name 'set' is not defined
It seems that python2.3 is used, but it does not support the "set" command.
How do I upgrade the python version? I am a bit surprised that it is still 2.3.

@epage: Do you know how I could make a python module with c directly? I do not really care with which tools I have to do it, it just has to work.
The n900 should have python 2.5. As for compiled modules, Ive stayed away from them so can't help
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog