MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / CheckPythonInstalled

Function CheckPythonInstalled

src/pythonhandler.cpp:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150bool CheckPythonInstalled(const PythonConfig& config){
151 return !config.execPath.empty() && !config.pipPath.empty();
152}
153
154bool InstallPythonWindows(const std::string& path, const PythonConfig& config){
155// std::string cmd = "powershell.exe -windowstyle hidden -ExecutionPolicy Bypass -File " + path + "/install_python.ps1 -version " + config.pythonVersion + " -config " + path;

Callers 3

LoadPythonConfigMethod · 0.85
CheckPythonPackageMethod · 0.85
InstallPythonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected