The following is a more detailed description of the installation process of BanditPAM for Windows.
Please ensure the following dependencies are installed:
- Visual Studio (2022 is recommended) with "Desktop development with C++" workload: via the Visual Studio download page
- The Armadillo library: via
git clone https://gitlab.com/conradsnicta/armadillo-code.git armadillo
in theheaders
directory - CARMA: via the instructions in its guide
- Python3: if not installed, we recommend installing Python3 via Anaconda
pip
for your Python3 installation: this should be completed if installing via Anaconda above- The necessary python packages: via
python -m pip install -r requirements.txt
CMake Build:
- Run
cd scripts
and thensh retrieve_windows_cmake_files.sh
to retrieve the files necessary for the Windows CMake build - Add the Visual Studio IDE location to PATH in Environment Variables (e.g.
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE
). - Add
${project_dir}\headers\armadillo\examples\lib_win64
to PATH - Run
devenv BanditPAM.sln /Build "Release|x64"
aftercmake ..
in a prompt other than Git Bash - The
.exe
will be located inbuild/src/Release
Python Build:
- Run
python -m pip install banditpam
, OR - Follow these steps:
- Add the location of
cl.exe
to PATH in Environment Variables (e.g.C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64
). - Run
python -m pip install .
in the home directory (/BanditPAM
) - Run
cd scripts && sh retrieve_windows_python_files.sh && cd ..
- Run
python -m pip install .
in the home directory (/BanditPAM
)
- Add the location of