MCPcopy Create free account
hub / github.com/MITK/MITK / StartPipUpgrade

Method StartPipUpgrade

Modules/PythonInstaller/src/QmitkPipInstaller.cpp:441–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441void QmitkPipInstaller::StartPipUpgrade()
442{
443 const auto python = this->RequirePythonExecutable();
444
445 if (python.isEmpty())
446 return;
447
448 m_State = State::UpgradingPip;
449 emit PipUpgradeStarted();
450
451 QStringList args = { "-m", "pip", "install", "--upgrade", "pip" };
452 MITK_INFO << FormatCommand(python, args).toStdString();
453 m_Process->start(python, args);
454}
455
456void QmitkPipInstaller::StartResolveGroup()
457{

Callers 2

OnProcessFinishedMethod · 0.95
BeginVirtualEnvPhaseMethod · 0.95

Calls 3

FormatCommandFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected