python

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package python provides some helpers for dealing with running python & checking package availability.

Index

Constants

This section is empty.

Variables

View Source
var (
	PythonRequiredVersion = 3

	ErrPython3NotFound = errors.New("python >= 3.0 not found. Please check your paths.")
)

Functions

func CheckForPackage

func CheckForPackage(python, packageName string) (err error)

CheckForPackage checks for the proper installation of the named package.

func FindPython3 added in v0.9.0

func FindPython3(outputDetails bool) (path string, err error)

Types

type ErrPythonPackageNotFound added in v0.9.0

type ErrPythonPackageNotFound struct {
	PackageName string
}

func (*ErrPythonPackageNotFound) Error added in v0.9.0

func (e *ErrPythonPackageNotFound) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL