kartoza / GEEST

Gender Enabling Environments Spatial Tool (GEEST)
https://worldbank.github.io/GEEST/
MIT License
1 stars 1 forks source link

Dependency Management #12

Open amyburness opened 1 week ago

amyburness commented 1 week ago
timlinux commented 1 week ago
import pip
def install_package(package_name):
    try:
        pip.main(['install', package_name])
        print(f"Successfully installed {package_name}")
    except Exception as e:
        print(f"Failed to install {package_name}: {str(e)}")
    # Example usage
    install_package('package_name')