Firedrake install problem with Python 3.10 #2648
-
Hello, I am currently trying to install Firedrake on my Windows machine using WSL (this is a different machine from the other problem I posted earlier this week). I installed Python 3.10 and used that to run the firedrake-install script, and everything goes fine until I get to the Coffee installation part. I did take a look at another GitHub discussion where pip was broken (here) and I followed those instructions to fix pip. However, Coffee won't install even with this fix. It gives me:
I'll attach the logs here: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Seems like a strange numpy build error, could you try building numpy in the firedrake venv by running |
Beta Was this translation helpful? Give feedback.
-
After going back and forth with @JDBetteridge and @ksagiyam, I came up with the following solution: First, I found that trying to manually install numpy via
After searching the web and coming across this page, I checked and I realized that the directory
and this allowed me to successfully run Next, I ran In summary: my Python 3 installation was somehow missing the file |
Beta Was this translation helpful? Give feedback.
After going back and forth with @JDBetteridge and @ksagiyam, I came up with the following solution:
First, I found that trying to manually install numpy via
pip install --no-binary numpy
gave me the same error as my original problem, so it was likely that the issue was coming from the installation of numpy. I ransudo apt-get install python3.10-dev
to try to fix the problem. This gave me an error, so I ransudo apt-get update
which gave me the same exact error, which is: