Skip to content

Instantly share code, notes, and snippets.

@DSLituiev
Created March 31, 2016 04:26
Show Gist options
  • Select an option

  • Save DSLituiev/4f1230ee5032d2affb85b6a9ed271ed3 to your computer and use it in GitHub Desktop.

Select an option

Save DSLituiev/4f1230ee5032d2affb85b6a9ed271ed3 to your computer and use it in GitHub Desktop.
python3 setup.py build_ext
setup.py build_ext
/netapp/home/dlituiev/.usr/py3/lib/
Partial import of sklearn during the build process.
Generating cython files
Cythonizing sources
sklearn
Processing sklearn/_isotonic.pyx
Traceback (most recent call last):
File "/usr/bin/cython", line 7, in <module>
from Cython.Compiler.Main import main
File "/netapp/home/dlituiev/.usr/py3/lib/Cython-0.23.4-py3.3-linux-x86_64.egg/Cython/Compiler/Main.py", line 28, in <module>
from .Scanning import PyrexScanner, FileSourceDescriptor
File "/netapp/home/dlituiev/.usr/py3/lib/Cython-0.23.4-py3.3-linux-x86_64.egg/Cython/Compiler/Scanning.py", line 7, in <module>
__bootstrap__()
File "/netapp/home/dlituiev/.usr/py3/lib/Cython-0.23.4-py3.3-linux-x86_64.egg/Cython/Compiler/Scanning.py", line 6, in __bootstrap__
imp.load_dynamic(__name__,__file__)
ImportError: dynamic module does not define init function (initScanning)
Traceback (most recent call last):
File "/ye/netapp/jimmie.ye/tools/scikit-learn/build_tools/cythonize.py", line 198, in <module>
main(root_dir_arg)
File "/ye/netapp/jimmie.ye/tools/scikit-learn/build_tools/cythonize.py", line 190, in main
check_and_cythonize(root_dir)
File "/ye/netapp/jimmie.ye/tools/scikit-learn/build_tools/cythonize.py", line 182, in check_and_cythonize
cythonize_if_unchanged(cur_dir, cython_file, gen_file, hashes)
File "/ye/netapp/jimmie.ye/tools/scikit-learn/build_tools/cythonize.py", line 156, in cythonize_if_unchanged
cythonize(full_cython_path, full_gen_file_path)
File "/ye/netapp/jimmie.ye/tools/scikit-learn/build_tools/cythonize.py", line 75, in cythonize
raise Exception('Cythonizing %s failed' % cython_file)
Exception: Cythonizing sklearn/_isotonic.pyx failed
Traceback (most recent call last):
File "setup.py", line 297, in <module>
setup_package()
File "setup.py", line 280, in setup_package
generate_cython()
File "setup.py", line 185, in generate_cython
raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment