Skip to content

Instantly share code, notes, and snippets.

@Ultraspider
Created November 27, 2010 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ultraspider/718302 to your computer and use it in GitHub Desktop.
Save Ultraspider/718302 to your computer and use it in GitHub Desktop.
loridaz@Sleipnir:~/dev/scikits.image$ sudo python setup.py install
[sudo] password for loridaz:
cython -o /home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_backend.c.new /home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_backend.pyx
Cython (http://cython.org) is a compiler for code written in the
Cython language. Cython is based on Pyrex by Greg Ewing.
Usage: cython [options] sourcefile.pyx ...
Options:
-V, --version Display version number of cython compiler
-l, --create-listing Write error messages to a listing file
-I, --include-dir <directory> Search for include files in named directory
(multiply include directories are allowed).
-o, --output-file <filename> Specify name of generated C file
-t, --timestamps Only compile newer source files (implied with -r)
-f, --force Compile all source files (overrides implied -t)
-q, --quiet Don't print module names in recursive mode
-v, --verbose Be verbose, print file names on multiple compilation
-p, --embed-positions If specified, the positions in Cython files of each
function definition is embedded in its docstring.
-z, --pre-import <module> If specified, assume undeclared names in this
module. Emulates the behavior of putting
"from <module> import *" at the top of the file.
--cleanup <level> Release interned objects on python exit, for memory debugging.
Level indicates aggressiveness, default 0 releases nothing.
-w, --working <directory> Sets the working directory for Cython (the directory modules
are searched from)
-D, --no-docstrings Remove docstrings.
-a, --annotate Produce a colorized HTML version of the source.
--line-directives Produce #line directives pointing to the .pyx source
--cplus Output a c++ rather than c file.
--embed Embed the Python interpreter in a main() method.
-X, --directive <name>=<value>[,<name=value,...] Overrides a compiler directive
Cython compilation of opencv_backend.pyx failed. Falling back on pre-generated file.
cython -o /home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_cv.c.new /home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_cv.pyx
Cython (http://cython.org) is a compiler for code written in the
Cython language. Cython is based on Pyrex by Greg Ewing.
Usage: cython [options] sourcefile.pyx ...
Options:
-V, --version Display version number of cython compiler
-l, --create-listing Write error messages to a listing file
-I, --include-dir <directory> Search for include files in named directory
(multiply include directories are allowed).
-o, --output-file <filename> Specify name of generated C file
-t, --timestamps Only compile newer source files (implied with -r)
-f, --force Compile all source files (overrides implied -t)
-q, --quiet Don't print module names in recursive mode
-v, --verbose Be verbose, print file names on multiple compilation
-p, --embed-positions If specified, the positions in Cython files of each
function definition is embedded in its docstring.
-z, --pre-import <module> If specified, assume undeclared names in this
module. Emulates the behavior of putting
"from <module> import *" at the top of the file.
--cleanup <level> Release interned objects on python exit, for memory debugging.
Level indicates aggressiveness, default 0 releases nothing.
-w, --working <directory> Sets the working directory for Cython (the directory modules
are searched from)
-D, --no-docstrings Remove docstrings.
-a, --annotate Produce a colorized HTML version of the source.
--line-directives Produce #line directives pointing to the .pyx source
--cplus Output a c++ rather than c file.
--embed Embed the Python interpreter in a main() method.
-X, --directive <name>=<value>[,<name=value,...] Overrides a compiler directive
Cython compilation of opencv_cv.pyx failed. Falling back on pre-generated file.
Traceback (most recent call last):
File "setup.py", line 90, in <module>
'scivi = scikits.image.scripts.scivi:main']
File "/usr/lib/python2.6/dist-packages/numpy/distutils/core.py", line 150, in setup
config = configuration()
File "setup.py", line 40, in configuration
config.add_subpackage(DISTNAME)
File "/usr/lib/python2.6/dist-packages/numpy/distutils/misc_util.py", line 852, in add_subpackage
caller_level = 2)
File "/usr/lib/python2.6/dist-packages/numpy/distutils/misc_util.py", line 835, in get_subpackage
caller_level = caller_level + 1)
File "/usr/lib/python2.6/dist-packages/numpy/distutils/misc_util.py", line 782, 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 "/usr/lib/python2.6/dist-packages/numpy/distutils/misc_util.py", line 852, in add_subpackage
caller_level = 2)
File "/usr/lib/python2.6/dist-packages/numpy/distutils/misc_util.py", line 835, in get_subpackage
caller_level = caller_level + 1)
File "/usr/lib/python2.6/dist-packages/numpy/distutils/misc_util.py", line 782, 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 "/home/loridaz/dev/scikits.image/scikits/image/_build.py", line 40, in cython
os.remove(c_file_new)
OSError: [Errno 2] No such file or directory: '/home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_cv.c.new'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment