frdls
September 19, 2022, 11:44pm
1
I get the following message in Powershell in response to “py” or “python”
python : Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit
(AMD64)] on win32
At line:1 char:1
+ python
+ ~~~~~~
+ CategoryInfo : NotSpecified: (Python 3.10.7 (...MD64)] on win32:String) [],
RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Type “help”, “copyright”, “credits” or “license” for more information.
Subsequent to which Powershell will not accept any further input, i.e. it apparently crashes.
Olaf
September 20, 2022, 1:48pm
2
David,
Welcome to the forum.
That does not have to be a PowerShell issue. What have you tried so far? Did you try to run python in a CMD console?
frdls
September 20, 2022, 2:13pm
3
It runs fine in CMD cheerleading as I noted in my original post.
frdls
September 20, 2022, 2:16pm
4
Not to mention that I reinstalled both z powershell and python with identical results.
frdls
September 20, 2022, 2:23pm
5
And cleaned up Path, just in case.
Olaf
September 20, 2022, 2:35pm
6
I must have missed that.
I don’t know what to tell you. I cannot reproduce your error. I just updated my Python from 3.10.6 to 3.10.7 and tried to run it with PS version 5.1 and version 7.2.6 and don’t have any problem. Sorry.
tonyd
September 20, 2022, 4:16pm
8
frdls:
NativeCommandError
Hmm … maybe have a look at: