Install Python ConnectomeInfluenceCalculator Library
Source:R/install-python.R
install_python_influence_calculator.RdThis function installs the Python ConnectomeInfluenceCalculator library and its dependencies (PETSc and SLEPc) into the r-reticulate environment using an optimized installation script.
Details
This function runs an installation script that:
Automatically detects or installs PETSc and SLEPc (via Homebrew or source builds)
Uses the r-reticulate conda environment exclusively
Installs ConnectomeInfluenceCalculator with automatic issue resolution
Tests the installation and provides configuration information
Installation Features:
Automatic PETSc/SLEPc Detection: Searches PATH for existing installations
Homebrew Integration: Uses Homebrew when available, with fallback to source builds
Local Builds: Source builds install to
~/.local/influencer/if neededpyproject.toml Fixes: Automatically resolves upstream license format issues
Environment Configuration: Saves configuration to
~/.influencer_envfor reuse
The installation uses only the r-reticulate environment and does not create additional conda environments, simplifying Python environment management.