Open meldiwin opened 3 years ago
Could you please provide more information about which version of Python you are using? This line contains type hinting (https://docs.python.org/3/library/typing.html) which was added in Python 3.5. Therefore we only support Python >= 3.5
I tried python3 and later on there this error:
src/C/umfpack.c:23:10: fatal error: umfpack.h: No such file or directory
23 | #include "umfpack.h"
| ^~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
File "setup.py", line 6, in
import topopt
File "/home/marwa/topopt/topopt/init.py", line 4, in
from . import boundary_conditions
File "/home/marwa/topopt/topopt/boundary_conditions.py", line 28
def init(self, nelx: int, nely: int):
^
SyntaxError: invalid syntax