Unable to install PETsc #3273
-
I saw the earlier post where a user was receiving the same error message that I'm receiving below. However, I'm using an Ubuntu distribution on my windows machine and I am also receiving the following error when reaching the PETsc portion of the "python3 firedrake-install" command. I felt this was worth mentioning as the current suspect in the other discussion is their homebrew installation, however the issue persists without using homebrew: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Please share the |
Beta Was this translation helpful? Give feedback.
That's OK. The installation log you shared is sufficient. It states
Cannot build Bison. It requires either "flex" or "lex" in PATH. Please install flex and retry.
flex is listed as one of our system requirements here. I think a simple
apt install flex bison
will fix things for you though it may be good to also install the other dependencies.Since you're on Ubuntu and we claim to install these dependencies for you this might be a bug. But regardless this should hopefully fix things for you.