Drop dependency on pip

This commit is contained in:
2023-09-05 19:47:35 +02:00
committed by GitHub
parent 45a70be950
commit 0dc2cf1f10
+1 -1
View File
@@ -63,7 +63,7 @@ function M.python3_module_is_installed(mod)
return false
end
local resp = vim.system({ "python3", "-m", "pip", "show", mod, }):wait()
local resp = vim.system({ "python3", "-c", "import " .. mod, }):wait()
return resp.code == 0
end