Найти - Пользователи
Полная версия: cython простой пример
Начало » Python для новичков » cython простой пример
1
math.beginer
в чем здесь ошибка? и как устранить ее?
#!/usr/bin/python
import numpy as np
cimport numpy as np
ctypedef np.float64_t dtype_t
def ff(dtype a):
return a;

$ cython test.py

Error converting Pyrex file to C:
------------------------------------------------------------
...
#!/usr/bin/python
import numpy as np
cimport numpy as np
^
------------------------------------------------------------
-=<fantom>=-
В третьей строке по русски написано - неправильный синтаксис. Даже стрелочка стоит. Точнее, в данном случае - крышка.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB