[SciPy-User] installing/compiling scipy module on windows, mingw

Johannes Radinger JRadinger at gmx.at
Mon Jan 10 12:23:43 EST 2011


It is the scikit.image i try to install!
and in the depends-file it says that cython is needed.

nevertheless here what I get back from the cmd when I try to compile:


C:\Users\XY\Downloads\z-scikits\z-scikits.image>python setup.py install
Could not load nose.  Unit tests not available.
cython -o C:\Users\XY\Downloads\z-scikits\z-scikits.image\scikits
\image\opencv\opencv_backend.c.new C:\Users\XY\Downloads\z-scikit
s\z-scikits.image\scikits\image\opencv\opencv_backend.pyx
'cython' is not recognized as an internal or external command,
operable program or batch file.
Cython compilation of opencv_backend.pyx failed. Falling back on pre-generated f
ile.
Traceback (most recent call last):
  File "setup.py", line 90, in <module>
    'scivi = scikits.image.scripts.scivi:main']
  File "C:\Program Files (x86)\Python26\ArcGIS10.0\lib\site-packages\numpy\distutils\core.py", line 152, in setup
    config = configuration()
  File "setup.py", line 40, in configuration
    config.add_subpackage(DISTNAME)
  File "C:\Program Files (x86)\Python26\ArcGIS10.0\lib\site-packages\numpy\distutils\misc_util.py", line 972, in add_subpackage
    caller_level = 2)
  File "C:\Program Files (x86)\Python26\ArcGIS10.0\lib\site-packages\numpy\distutils\misc_util.py", line 941, in get_subpackage
    caller_level = caller_level + 1)
  File "C:\Program Files (x86)\Python26\ArcGIS10.0\lib\site-packages\numpy\distutils\misc_util.py", line 878, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scikits\image\setup.py", line 8, in configuration
    config.add_subpackage('opencv')
  File "C:\Program Files (x86)\Python26\ArcGIS10.0\lib\site-packages\numpy\distutils\misc_util.py", line 972, in add_subpackage
    caller_level = 2)
  File "C:\Program Files (x86)\Python26\ArcGIS10.0\lib\site-packages\numpy\distutils\misc_util.py", line 941, in get_subpackage
    caller_level = caller_level + 1)
  File "C:\Program Files (x86)\Python26\ArcGIS10.0\lib\site-packages\numpy\distutils\misc_util.py", line 878, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scikits\image\opencv\setup.py", line 20, in configuration
    cython(cython_files, working_path=base_path)
  File "C:\Users\XY\Downloads\z-scikits\z-scikits.image\scikits\i
mage\_build.py", line 41, in cython
    os.remove(c_file_new)
WindowsError: [Error 2] The system cannot find the file specified: 'C:\\Users\\XY\\Downloads\\z-scikits\\z-scikits.image\\scikits\\image\\opencv\\opencv_backend.c.new'

hopefully that brings some light into the dark
/j

-------- Original-Nachricht --------
> Datum: Mon, 10 Jan 2011 18:14:31 +0100
> Von: Gael Varoquaux <gael.varoquaux at normalesup.org>
> An: SciPy Users List <scipy-user at scipy.org>
> Betreff: Re: [SciPy-User] installing/compiling scipy module on windows, mingw

> On Mon, Jan 10, 2011 at 06:12:34PM +0100, Johannes Radinger wrote:
> > no it starts compiling and than it stops with the argument that
> > cython isn't recognized...
> 
> Darn, cython shouldn't be needed to build the scikit. Looks like we let
> something slip through during the last release. Could you please copy the
> exact error message here, and we'll do a bug fix release ASAP.
> 
> Gaël
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl



More information about the SciPy-User mailing list