Why does subprocess.run fail to run notepad in Win11 due to missing “package identity”, when os.system succeeds?
On Windows 10 with admin-installed Anaconda distribution, I had no problem using subprocess.run to open Notepad. However, when I now try to run the same command on Windows 11 from a user-installed Miniforge python environment, it fails with the following package identity error: > import subprocess > subprocess.run([r’C:\WINDOWS\notepad.exe’]) OSError: [WinError 15700] The process has no … Read more