Pyrex 0.9.1.1 compile problem

Paul Prescod paul at prescod.net
Sat May 1 18:27:01 EDT 2004


Stephen Boulet wrote:

>>Kernel 2.6.5
>>Slackware 9.1
>>Python -V: 2.3.1
>>
>>running python setup.py install yields the following error:
>>
>>peter at peter:/mnt/src/rox/Pyrex-0.9.1.1$ python setup.py install
>>Traceback (most recent call last):
>>  File "setup.py", line 8, in ?
>>    if sys.platform in ("unix", "darwin"):
>>NameError: name 'sys' is not defined
>>peter at peter:/mnt/src/rox/Pyrex-0.9.1.1$
>>
>>What am I missing?

Perhaps this will help:

http://lists.copyleft.no/pipermail/pyrex/2004-May/000727.html

  Paul Prescod






More information about the Python-list mailing list