2.1.25.41 InstallPythonPackages


Description

Install Python packages

Syntax

void InstallPythonPackages( BOOL bShowAppMsg, string strModules, string strSource = "", int nPy = 3 )

Parameters

bShowAppMsg
[input] true to show message after installation
strModules
[input] Package names, separated by space
strSource
[input] Package source
nPy
[input] 3 for Python 3.x

Examples

EX1

labtalk script
InstallPythonPackages(1, "scipy scikit-learn scikit-image", "https://pypi.tuna.tsinghua.edu.cn/simple");

See Also

WinExec

Header to Included

origin.h