Closed sbhasan closed 11 months ago
What's your python version? Please take a look at Issue #263
Hi @sbhasan, as discussed on that page, in order to install from source with the Fortran PDD solver you need to have a Fortran compiler installed, see here. Unfortunately the detailed instructions we now link to were removed, perhaps the summary on that page can help. However, I would recommend using Windows Subsystem for Linux (WSL) to avoid all these issues.
Apologies, just looked at the screenshots more carefully - it seems you do not have meson installed which is required for the build (I think the instructions are actually not clear on this, sorry). Try running:
pip install meson-python cython ninja
before the build. You will still need the Fortran compiler though.
Thanks a lot Phoebe and Yihua for your feedback.
I agree, wsl 2 is simpler as it indeed works. But I have my whole toolchain in windows with and pre and post processing steps. Stepping into wsl2 just for this PDD solver stage is a hassle and disrupts a lot of support processes I have going.
I checked meson, cython and ninja packages, they are all already installed. In my search, I found this thread to be possibly relevant:
https://github.com/mesonbuild/meson/issues/6128
Apparently, I need to use something called "VS x64 Native Tools Command Prompt" and then it will work flawlessly. But it's annoying to install VS just to get a command promp! The standard cmd.exe ought to work. So the hacker in me is searching for how to bend it so that I could get it working. I will update if I succeed.
Kind regards, Shakeeb
I got the time to look into it again. Turned out I was using the 32bit version of MingW64 compiler. After installing the 64 bit version from winlibs.com it works. Apologies for the bother!
I am unable to install from the source following the instructions at this page
I am using Windows 11 and trying to install inside a conda environment. Below is the screenshot of what I get
git clone https://github.com/qpv-research-group/solcore5 pip install . # from the root folder containing pyproject.toml
Here is a screenshot of the error message I get:
Kind regards, Shakeeb