Pyrex 0.9.1.1 compile problem

Discussion in 'Python' started by Peter, May 1, 2004.

  1. Peter

    Peter Guest

    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
     
    Peter, May 1, 2004
    #1
    1. Advertising

  2. 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
     
    Stephen Boulet, May 1, 2004
    #2
    1. Advertising

  3. Peter

    Paul Prescod Guest

    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/pyrex/2004-May/000727.html

    Paul Prescod
     
    Paul Prescod, May 1, 2004
    #3
  4. Peter

    Paul Prescod Guest

    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/pyrex/2004-May/000727.html

    Paul Prescod
     
    Paul Prescod, May 1, 2004
    #4
  5. Peter

    Peter Guest

    Peter, May 2, 2004
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?iso-8859-1?Q?Fran=E7ois?= Pinard

    Re: Pyrex without Python (was Re: calling Pyrex results from C)

    =?iso-8859-1?Q?Fran=E7ois?= Pinard, Jan 21, 2004, in forum: Python
    Replies:
    3
    Views:
    332
    A.M. Kuchling
    Jan 21, 2004
  2. Adam McCarthy

    Pyrex Compile - Missing Symbols in Python

    Adam McCarthy, Sep 25, 2004, in forum: Python
    Replies:
    0
    Views:
    466
    Adam McCarthy
    Sep 25, 2004
  3. Frost bite
    Replies:
    0
    Views:
    346
    Frost bite
    Sep 25, 2004
  4. Chris Lambacher
    Replies:
    0
    Views:
    684
    Chris Lambacher
    Jun 8, 2005
  5. Greg Ewing
    Replies:
    2
    Views:
    373
    Dieter Maurer
    Jun 29, 2006
Loading...

Share This Page