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

Function InstallFromPip

src/pythonhandler.cpp:222–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220#endif
221
222int InstallFromPip(const std::string& pip_exec, const PythonPackageConfig& package){
223 std::string cmd = pip_exec + " install " + package.name + "==" + package.version;
224 int rvalue = system(cmd.c_str());
225 return rvalue;
226}

Callers 1

InstallPythonPackageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected