If we run a python script in jupyter notebook's cell on VS Code doing !python3 filename.py
, it will give Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640
error.
This can be solved by a simple change. !python filename.py
works well without any errors.