-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
poly2tri fails to compile for me, erroring out with:
/usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /private/var/folders/dj/vkvwpmh10rl0qr81h65mdppc0000gn/T/pip-req-build-6nmx2vsv/src/p2t.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
property y:
def __get__(self): return self.y
def __set__(self, y): self.y = y
def debug_print(self):
print "(" + str(self.x) + ", " + str(self.y) + ")",
^
------------------------------------------------------------
src/shapes.pxi:18:14: Syntax error in simple statement list
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/dj/vkvwpmh10rl0qr81h65mdppc0000gn/T/pip-req-build-6nmx2vsv/setup.py", line 27, in <module>
extensions = Cython.Build.cythonize(ext)
File "/usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "/usr/local/Caskroom/mambaforge/base/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: src/p2t.pyx
Compiling src/p2t.pyx because it changed.
[1/1] Cythonizing src/p2t.pyx
[end of output]
Metadata
Metadata
Assignees
Labels
No labels