OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Python REPL doesn't work on Windows over remote powershell session (winrm)


On Sun, Aug 26, 2018 at 9:09 AM, ZHU Xiang <xiang.zhu at outlook.com> wrote:
> But for the remote Windows powershell session the REPL doesn?t work, when I
> type ??python? on the remote session, there?s nothing happened.
>
> # 1/ pre-install python on server1 (server 1 is a windows os)
> # 2/ from a powershell console on server0, type below 2 commands:
> enter-pssession server1
> python
>

Quick check: With the exact same servers, after you enter-possession,
can you run a Python *script* successfully? And/or can you run:

python -c "print(1+2)"

? If so, it's definitely just a REPL problem.

> The problem impacts all the python versions and all the windows versions.

Which versions were tested?

ChrisA