[Numpy-discussion] Error in running the numpy\setup.py numpy-1.0.1.win32-py2.5.exe with python 2.5

Haw-Jye Shyu shyu at yahoo.com
Sun Mar 11 12:20:57 EDT 2007


Hi Folks:

On the second try, I use the Python Shell to open a file named
C:\Python25\Lib\site-package\numpy\setup.py

and run it on the Pythono Shell. I got the following message:

Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************
    
IDLE 1.2      
>>> ================================ RESTART ================================
>>> 
========================================================================
Starting interactive session
------------------------------------------------------------------------

Tasks: 
  i       - Show python/platform/machine information
  ie      - Show environment information
  c       - Show C compilers information
  c<name> - Set C compiler (current:None)
  f       - Show Fortran compilers information
  f<name> - Set Fortran compiler (current:None)
  e       - Edit proposed sys.argv[1:].

Task aliases:
  0         - Configure
  1         - Build
  2         - Install
  2<prefix> - Install with prefix.
  3         - Inplace build
  4         - Source distribution
  5         - Binary distribution

Proposed sys.argv = ['C:\\Python25\\Lib\\site-packages\\numpy\\setup.py']
    
Choose a task (^D to quit, Enter to continue with setup): 2


Tasks: 
  i       - Show python/platform/machine information
  ie      - Show environment information
  c       - Show C compilers information
  c<name> - Set C compiler (current:None)
  f       - Show Fortran compilers information
  f<name> - Set Fortran compiler (current:None)
  e       - Edit proposed sys.argv[1:].

Task aliases:
  0         - Configure
  1         - Build
  2         - Install
  2<prefix> - Install with prefix.
  3         - Inplace build
  4         - Source distribution
  5         - Binary distribution

Proposed sys.argv = ['C:\\Python25\\Lib\\site-packages\\numpy\\setup.py', 'install']
    
Choose a task (^D to quit, Enter to continue with setup): 
------------------------------------------------------------------------
Warning: Assuming default configuration (distutils\command/{setup_command,setup}.py was not found)
Appending numpy.distutils.command configuration to numpy.distutils
Ignoring attempt to set 'name' (from 'numpy.distutils' to 'numpy.distutils.command')
Warning: Assuming default configuration (distutils\fcompiler/{setup_fcompiler,setup}.py was not
found)
Appending numpy.distutils.fcompiler configuration to numpy.distutils
Ignoring attempt to set 'name' (from 'numpy.distutils' to 'numpy.distutils.fcompiler')
non-existing path in 'distutils': 'site.cfg'
Appending numpy.distutils configuration to numpy
Ignoring attempt to set 'name' (from 'numpy' to 'numpy.distutils')
Appending numpy.testing configuration to numpy
Ignoring attempt to set 'name' (from 'numpy' to 'numpy.testing')
Warning: Assuming default configuration (f2py\lib\parser/{setup_parser,setup}.py was not found)
Appending numpy.f2py.lib.parser configuration to numpy.f2py.lib
Ignoring attempt to set 'name' (from 'numpy.f2py.lib' to 'numpy.f2py.lib.parser')
Appending numpy.f2py.lib configuration to numpy.f2py
Ignoring attempt to set 'name' (from 'numpy.f2py' to 'numpy.f2py.lib')
F2PY Version 2_3473
Appending numpy.f2py configuration to numpy
Ignoring attempt to set 'name' (from 'numpy' to 'numpy.f2py')
Ignoring attempt to set 'version' (from None to '2_3473')

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\numpy\setup.py", line 29, in <module>
    setup(configuration=configuration)
  File "C:\Python25\Lib\site-packages\numpy\distutils\core.py", line 112, in setup
    return setup(**attr)
  File "C:\Python25\Lib\site-packages\numpy\distutils\core.py", line 144, in setup
    config = configuration()
  File "C:\Python25\Lib\site-packages\numpy\setup.py", line 9, in configuration
    config.add_subpackage('core')
  File "C:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 765, in add_subpackage
    caller_level = 2)
  File "C:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 748, in get_subpackage
    caller_level = caller_level + 1)
  File "C:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 695, in
_get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "C:\Python25\Lib\site-packages\numpy\core\setup.py", line 33, in configuration
    open(generate_umath_py,'U'),generate_umath_py,
IOError: [Errno 2] No such file or directory: 'core\\code_generators\\generate_umath.py'
>>> 


 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 



More information about the NumPy-Discussion mailing list