I have been struggling getting dap to work with my python virtual environment. As a workaround, @yyoncho suggested manually setting dap-python-executable to the full path of python.
After doing that, I get:
nil -m ptvsd --wait --host localhost --port 32000 /Users/rrosen/dev/kachess/kachess/kdata.py
zsh:1: command not found: nil
@yyoncho found the problem. The workaround is: you may fix it by going to dap-python.el and changing line 70 to (python-executable dap-python-executable)
He thinks: The issue has been introduced probably with #105 @mpanarin
(BTW - The workaround works.)