By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,907 Members | 1,932 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,907 IT Pros & Developers. It's quick & easy.

Pyrex 0.9.1.1 compile problem

P: n/a
Kernel 2.6.5
Slackware 9.1
Python -V: 2.3.1

running python setup.py install yields the following error:

peter@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@peter:/mnt/src/rox/Pyrex-0.9.1.1$

What am I missing?

Thx
Jul 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Same error on my linux intallation.

Peter wrote:
Kernel 2.6.5
Slackware 9.1
Python -V: 2.3.1

running python setup.py install yields the following error:

peter@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@peter:/mnt/src/rox/Pyrex-0.9.1.1$

What am I missing?

Thx


--
Stephen
From here to there
and there to here,
funny things are everywhere. -- Dr Seuss

Jul 18 '05 #2

P: n/a
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@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@peter:/mnt/src/rox/Pyrex-0.9.1.1$

What am I missing?


Perhaps this will help:

http://lists.copyleft.no/pipermail/p...ay/000727.html

Paul Prescod

Jul 18 '05 #3

P: n/a
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@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@peter:/mnt/src/rox/Pyrex-0.9.1.1$

What am I missing?


Perhaps this will help:

http://lists.copyleft.no/pipermail/p...ay/000727.html

Paul Prescod

Jul 18 '05 #4

P: n/a
Paul Prescod wrote:
snip....
Perhaps this will help:

http://lists.copyleft.no/pipermail/p...ay/000727.html

Paul Prescod


Thx. I appreciate it!
Jul 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.