这是一个创建于 2507 天前的主题,其中的信息可能已经有所发展或是发生改变。
Error compiling Cython file:
------------------------------------------------------------
...
end = time()
Logger.debug("Svg: Loaded {} in {:.2f}s".format(filename, end - start))
finally:
fd.close()
cdef void reload(self) except *:
^
------------------------------------------------------------
kivy/graphics/svg.pyx:469:9: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cpdef flag_update(self, int do_parent=?, list _instrs=?)
ELSE:
cpdef flag_update(self, int do_parent=?)
cdef void flag_update_done(self)
cdef void set_parent(self, Instruction parent)
cdef void reload(self)
^
------------------------------------------------------------
kivy/graphics/instructions.pxd:36:20: Previous declaration is here
building 'kivy.graphics.svg' extension
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -g -arch x86_64 -I/private/var/folders/jp/cb5x_p2518l3k8vry32crltw0000gn/T/pip-build-foahkmaz/kivy/kivy/include -I/private/var/folders/jp/cb5x_p2518l3k8vry32crltw0000gn/T/pip-build-foahkmaz/kivy/kivy/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c /private/var/folders/jp/cb5x_p2518l3k8vry32crltw0000gn/T/pip-build-foahkmaz/kivy/kivy/graphics/svg.c -o build/temp.macosx-10.6-intel-3.6/private/var/folders/jp/cb5x_p2518l3k8vry32crltw0000gn/T/pip-build-foahkmaz/kivy/kivy/graphics/svg.o -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks
/private/var/folders/jp/cb5x_p2518l3k8vry32crltw0000gn/T/pip-build-foahkmaz/kivy/kivy/graphics/svg.c:1:2: error: Do not use this file, it is the result of a failed Cython compilation.
#error Do not use this file, it is the result of a failed Cython compilation.
^
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/jp/cb5x_p2518l3k8vry32crltw0000gn/T/pip-build-foahkmaz/kivy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/jp/cb5x_p2518l3k8vry32crltw0000gn/T/pip-c3x1dmbf-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/jp/cb5x_p2518l3k8vry32crltw0000gn/T/pip-build-foahkmaz/kivy/