-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pywinpty: winpty.dll loading issue. #161
Comments
Hi @nikhil-mohite, this is indeed an issue with machines where the |
I'm running into the same issue. Is there any way to install ConPty or do you have to wait for the new windows version? |
I think you can install the latest Windows 10 SDK: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/ |
Thanks! I'll give this a shot. For now I just downgraded to the older version of pywinpty and terminado which seemed to work. |
winpty.dll can load on Local PC for Windows 10, but failed on Window Server 2016, any solution? |
@andfoy And Install Windows 10 SDK on Windows Server 2016 not solve the problem |
According to https://learn.microsoft.com/en-us/windows/console/createpseudoconsole, ConPTY requires at least Windows Server 2019. Since I haven't been able to implement the dynamic loading on winpty-rs (the backend library used by pywinpty), the only sensible option is to recompile the library in the target system |
@andfoy thanks so much for quick replying, that saves my time to further search on google. Thanks |
Hi Team,
I am using pywinpty to create pseudoterminal, It is working fine with Windows 10 version 1809 and above. but it is falling for versions below 1809.
Getting the error: "Exception in import winpty DLL load failed while importing winpty: The specified procedure could not be found.".
As we know Windows 10 version 1809 added support for ConPty so it is working with it, but if ConPty is not available or not present it should select WinPty API but get the above-mentioned error.
I also tried to set WinPty as a backend by sending backend=1 or setting the 'PYWINPTY_BACKEND' variable to value 1.
It is falling on import PtyProcess, PFA
If you require any other information please let me know.
The text was updated successfully, but these errors were encountered: