fudge icon indicating copy to clipboard operation
fudge copied to clipboard

Pip Install Failed

Open StormsHalted opened this issue 8 months ago • 2 comments

Hello All,

I issued the command pip install git+https://github.com/LLNL/fudge.git.

The installation failed with the log attached here:

log.txt

pip list.txt

StormsHalted avatar Apr 27 '25 01:04 StormsHalted

Thanks for reporting that! We need to add mingw (or WSL) as a requirement before installing on Windows. If you're willing, please try installing mingw (https://www.mingw-w64.org) and then redoing pip install.

mattooca avatar Apr 30 '25 20:04 mattooca

Hello @mattooca ,

I made an attempt to install MingW:

C:\Spyder\envs\spyder-runtime>gcc --version gcc (x86_64-mcf-seh-rev0, Built by MinGW-Builds project) 15.1.0 Copyright (C) 2025 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Next I attempted to install make via chocolatey:

C:\Spyder\envs\spyder-runtime>choco install make Chocolatey v2.4.3 Installing the following packages: make By installing, you accept licenses for the packages. Downloading package from source 'https://community.chocolatey.org/api/v2/' Progress: Downloading make 4.4.1... 100% make v4.4.1 [Approved] make package files install completed. Performing other installation steps. ShimGen has successfully created a shim for make.exe The install of make was successful. Deployed to 'C:\ProgramData\chocolatey\lib\make'

I re run the pip install command in cmd.exe this time since the make was expected to work there:

C:\Spyder\envs\spyder-runtime>python -m pip install git+https://github.com/LLNL/fudge.git

I get a different error now which is attached in log file.

log.txt

StormsHalted avatar May 04 '25 03:05 StormsHalted

Thanks again for reporting this! Based on experience of Windows users at the FUDGE training course last month, we now recommend using WSL instead of MinGW for running FUDGE on Windows. Some users were able to install using MinGW, but tools like resonance reconstruction use forking for multi-processing. That works fine in WSL but not MinGW.

mattooca avatar Jun 30 '25 22:06 mattooca

Hello @mattooca

I was able to successfully do a pip install . on a cloned master branch in a virtual python environment on Linux. My pip list does detects the packages now.

StormsHalted avatar Sep 14 '25 17:09 StormsHalted