[Python-apps-team] Bug#903909: ImportError: cannot import name LazyUtilityCode
PICCA Frederic-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Mon Jul 16 19:50:33 BST 2018
I tryed to do the iport on my computer and I get this error.
So it seems that this is a diplicate of #902784
Cheers
Fred
>>> from Cython.Build import cythonize
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/Cython/Build/__init__.py", line 1, in <module>
from .Dependencies import cythonize
File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 36, in <module>
from ..Compiler.Main import Context, CompilationOptions, default_options
File "/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py", line 30, in <module>
from .Symtab import ModuleScope
File "/usr/lib/python2.7/dist-packages/Cython/Compiler/Symtab.py", line 19, in <module>
from . import PyrexTypes
File "/usr/lib/python2.7/dist-packages/Cython/Compiler/PyrexTypes.py", line 17, in <module>
from .Code import UtilityCode, LazyUtilityCode, TempitaUtilityCode
File "Cython/Compiler/Code.py", line 38, in init Cython.Compiler.Code
ImportError: /usr/lib/python2.7/dist-packages/Cython/StringIOTree.i386-linux-gnu.so: undefined symbol: Py_InitModule4
More information about the Python-apps-team
mailing list