Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Error #2

Open
meldiwin opened this issue Dec 2, 2020 · 2 comments
Open

Installation Error #2

meldiwin opened this issue Dec 2, 2020 · 2 comments

Comments

@meldiwin
Copy link

meldiwin commented Dec 2, 2020

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

@zfergus
Copy link
Owner

zfergus commented Dec 2, 2020

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

@meldiwin
Copy link
Author

meldiwin commented Dec 3, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants