can't compile a simple Cython program -
i'm starting cython tutorial, available at: http://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html but, can not compile .pyx files:
i wrote file containing print("hello world") , saved under hello.pyx
then made setup.py file, containing:
from distutils.core import setup cython.build import cythonize
setup( ext_modules = cythonize("helloworld.pyx") )
then, cmd used command: $ python setup.py build_ext --inplace
but i'm getting error - description in picture i've used pyximport module well, , got same error.
i'm sure problem eazy fix, , know how! :)
i useing python 3.4 on windows
Comments
Post a Comment