Skip to content
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

winpty.lib missing error #91

Closed
padremayi opened this issue Feb 8, 2018 · 2 comments
Closed

winpty.lib missing error #91

padremayi opened this issue Feb 8, 2018 · 2 comments

Comments

@padremayi
Copy link

Installing pywinpty with
python setup.py install

we receive this error:

LINK : fatal error LNK1181: cannot open input file 'winpty.lib'

This is due to setup script that point to winpty.lib in
C:\Python34\PCbuild

You have to create that folder and put winpty.lib inside it if you want to complete the procedure. Complete linker command is:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\Python34\libs /LIBPATH:C:\Python34\PCbuild winpty.lib /EXPORT:PyInit_cywinpty build\temp.win32-3.4\Release\winpty/cywinpty.obj /OUT:build\lib.win32-3.4\winpty\cywinpty.pyd /IMPLIB:build\temp.win32-3.4\Release\winpty\cywinpty.lib /MANIFESTFILE:build\temp.win32-3.4\Release\winpty\cywinpty.pyd.manifest

Is this a bug?

@padremayi
Copy link
Author

OK, it is impossible to use the library:

from .cywinpty import Agent
ImportError: DLL load failed: The specified procedure could not be found.

@ccordoba12
Copy link
Contributor

Pywinpty doesn't work with Python 3.4, sorry. We're also trying to solve the last error you reported, but for Python 2.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants