When i attempt to run a .pyd or .pyx file python crashes. Even the simplest case causes the error.
helloworld.pyx
print("hello world")
setup.py
from distutils.core import setup
from Cython.Build import cythonize
setup(ext_modules = cythonize("helloworld.pyx"))
Running setup.py successfully compiles the helloworld.pyd file. However upon importing the file in python it crashes after printing "hello world".
Using pyximport
causes the same behavior.
System info: OS: Windows 7; Compiler: TMD-GCC-64, gcc version 5.1.0; Python: Python 3.4.3, Anaconda 2.2.0 (64 bit);