python not found in virtual environment
c30ra opened this issue · comments
On Windows, it can't find the python executable, cause it searches for python3. On Windows, usually there is no python3 executable installed.
I've temporary fixed it by rename the python executable from python.exe to python3.exe.
I'm doing something wrong or nvim-dap-python really expect a python3.exe on Windows??
It doesn't look for a python3.exe
nvim-dap-python/lua/dap-python.lua
Line 55 in 66560f0
nvim-dap-python/lua/dap-python.lua
Line 91 in 66560f0
Thanks for the the quick reply! Once I'm back home I'll double check my configuration. Today I managed to make it work only by renaming the executable. The error it gave me was something like: ENOENT: python3 file not found or something similar..
I confirm that there is nothing on my nvim config that set python3
Well, the only other python3
occurrance is for the python that's used to run the debugpy
adapter itself, which you can configure with the setup
method.
See
nvim-dap-python/lua/dap-python.lua
Line 182 in 66560f0
Otherwise it has to come from your configuration.