How to fix “Can’t find a default Python” error

I found the solution:

setting global variable in cmd as below resolved the issue

C:> ftype Python=”C:\Users\user x\AppData\Local\Programs\Python\Python36\python.exe %1 %*”

Leave a Comment