From ea7e0730c273d49acb06c0af6b4d8c34f85f2399 Mon Sep 17 00:00:00 2001 From: "asep.komarudin" Date: Sat, 22 Jun 2024 15:20:23 +0700 Subject: [PATCH] add: venv info config --- lua/plugins/python.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lua/plugins/python.lua b/lua/plugins/python.lua index 12fc18b..e603afa 100644 --- a/lua/plugins/python.lua +++ b/lua/plugins/python.lua @@ -53,7 +53,14 @@ if pcode.active_python_config then M = { -- https://github.com/nvim-neotest/neotest-python -- https://docs.pytest.org/en/7.1.x/getting-started.html - -- (di bawah ini untuk linux) + -- (ini untuk windows)********************************************* + -- https://stackoverflow.com/questions/17737203/python-and-virtualenv-on-windows + -- pip install virtualenv + -- python -m virtualenv demoEnv + -- demoEnv\Scripts\activate + -- deactivate + -- (di bawah ini untuk + -- linux)*********************************************************** -- python3 -m venv my-virtual-env -- sudo python3 -m venv my-virtual-env -- . ./my-virtual-env/bin/activate