当使用cython从helloworld.pyx创建helloworld.c时,发生此错误:
error compiling Cython file:
------------------------------------------------------------
...
print('hello world',end='')
^
------------------------------------------------------------
p21.pyx:1:23: Expected ')', found '='
Run Code Online (Sandbox Code Playgroud)
我创建helloworld.c的命令是:
cython3 --embed p21.pyx
Run Code Online (Sandbox Code Playgroud)