error installing packages

Discussion in 'Python' started by Wouter Vanden Hove, Apr 6, 2004.

  1. I'm trying to install Numeric on a mandrake-9.1 box
    but I get following error:


    [root@localhost numarray-0.9]# python setup.py install
    'import site' failed; use -v for traceback
    Using EXTRA_COMPILE_ARGS = []
    Traceback (most recent call last):
    File "setup.py", line 153, in ?
    main()
    File "setup.py", line 144, in main
    setup(**p)
    File "/usr/lib/python2.3/distutils/core.py", line 135, in setup
    ok = dist.parse_command_line()
    File "/usr/lib/python2.3/distutils/dist.py", line 422, in
    parse_command_line
    args = self._parse_command_opts(parser, args)
    File "/usr/lib/python2.3/distutils/dist.py", line 469, in
    _parse_command_opts
    cmd_class = self.get_command_class(command)
    File "/usr/lib/python2.3/distutils/dist.py", line 770, in
    get_command_class
    __import__ (module_name)
    File "/usr/lib/python2.3/distutils/command/install.py", line 22, in ?
    libname = sys.lib
    AttributeError: 'module' object has no attribute 'lib'


    How is this to be solved?


    Wouter
    Wouter Vanden Hove, Apr 6, 2004
    #1
    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. Paul  Smith
    Replies:
    0
    Views:
    719
    Paul Smith
    Nov 18, 2003
  2. Greg Fortune

    Installing many packages

    Greg Fortune, Jul 22, 2003, in forum: Python
    Replies:
    0
    Views:
    275
    Greg Fortune
    Jul 22, 2003
  3. Greg Fortune

    Installing lots of packages

    Greg Fortune, Jul 22, 2003, in forum: Python
    Replies:
    1
    Views:
    325
    Greg Fortune
    Jul 22, 2003
  4. David Lyon
    Replies:
    19
    Views:
    557
    David Lyon
    Apr 24, 2009
  5. Ian
    Replies:
    3
    Views:
    158
Loading...

Share This Page