问题:
Cython compiled C extension:
ImportError: dynamic module does not define init function
解决:
在.pyx文件开始增加
STUFF = "Hi"
It appears if there is no global initialization (a cinitor setting a global variable), that the required initialization code isn't generated.
原: