The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Ixchel::functions::python_module_via_pkg - Tries to install a module for python3 via the package manager.

VERSION

Version 0.0.1

SYNOPSIS

    use Ixchel::functions::python_module_via_pkg;
    use Data::Dumper;

    eval{ python_module_via_pkg(module=>'Pillow') };
    if ($@) {
        print 'Failed to install Pillow...'.$@."\n";
    }

Supported OS families are...

    Alt Linux
    Arch Linux
    Debian Linux
    FreeBSD
    Mageia Linux
    NetBSD
    OpenBSD
    Redhat Linux
    Suse Linux
    Void Linux

Functions

python_module_via_pkg

Tries to install a python3 module via packages.

    eval{ python_module_via_pkg(module=>'Pillow') };
    if ($@) {
        print 'Failed to install python module ...'.$@;
    }