MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / install

Method install

src/python/package_manager.cpp:408–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406 }
407
408 InstallResult PackageManager::install(const std::string& package) {
409 if (!ensure_venv())
410 return {.error = "Failed to create venv"};
411
412 std::lock_guard lock(m_mutex);
413 LOG_INFO("Installing {}", package);
414 return execute_uv({"pip", "install", package, "--python", lfs::core::path_to_utf8(venv_python())});
415 }
416
417 InstallResult PackageManager::uninstall(const std::string& package) {
418 if (!ensure_venv())

Callers 3

start_debugpyFunction · 0.45
start_embedded_replFunction · 0.45
format_python_code_implFunction · 0.45

Calls 1

path_to_utf8Function · 0.85

Tested by

no test coverage detected