📜  调试配置中的 python 路径无效. - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:31.521000             🧑  作者: Mango

代码示例1
it means we the correct path for the Py executable must be set on the debug config
Step_1. Get the path to executable e.g. using shell on windows
python -c "import sys; print(sys.executable)"
   C:\\python.exe

Step_2. set this on the IDE that needs the Python path

About the other relevant Py paths, this shows dlls and lib paths among others
python -c "import sys; print(sys.path)"