From 9fd7936f0d7232a8a79e6a7b6cbfb814d9042b13 Mon Sep 17 00:00:00 2001 From: SmallY <45689960+iamSmallY@users.noreply.github.com> Date: Wed, 3 Apr 2024 17:29:34 +0800 Subject: [PATCH] docs: add the way to configuring Python dependency for Windows PowerShell (#2996) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e4c608e20..2570084add 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,8 @@ export npm_config_python=/path/to/executable/python     Or on Windows: ```console py --list-paths # To see the installed Python versions -set npm_config_python=C:\path\to\python.exe +set npm_config_python=C:\path\to\python.exe # CMD +$Env:npm_config_python="C:\path\to\python.exe" # PowerShell ``` 3. If the `PYTHON` environment variable is set to the path of a Python executable,