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

'import zmq' produces OSError on windows XP #521

Closed
joaquinabian opened this issue Apr 3, 2014 · 5 comments

Comments

@joaquinabian
Copy link

@joaquinabian joaquinabian commented Apr 3, 2014

I installed pyzmq for py3.4 on windows XP from Golhke repository (pyzmq‑14.1.1.win32‑py3.4.exe).

import zmq
Traceback (most recent call last):
File "", line 1, in
File "C:\Python34\lib\site-packages\zmq__init__.py", line 41, in
libzmq = ctypes.cdll.LoadLibrary(bundled[0])
File "C:\Python34\lib\ctypes__init
_.py", line 429, in LoadLibrary
return self.dlltype(name)
File "C:\Python34\lib\ctypes__init
_.py", line 351, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 127] No se encontró el proceso especificado

I get at the same time a windows error popup (translated from spanish):
"python.exe - Entry point not found
The entry point for the procedure ConvertLenghtToIpv4Mask is not found in the dynamic link library IPHLPAPI.DLL"

Replicated in two different win XP computers.
Not sure if a zmq or ctypes problem

@minrk

This comment has been minimized.

Copy link
Member

@minrk minrk commented Apr 4, 2014

Do you get the same error when you install with pip?

@joaquinabian

This comment has been minimized.

Copy link
Author

@joaquinabian joaquinabian commented Apr 5, 2014

No, it works, pip installation fixed the problem.
What is wrong with exe install?
Thanks

@minrk

This comment has been minimized.

Copy link
Member

@minrk minrk commented Apr 5, 2014

@cgohlke any idea why your pyzmq package would fail with ConvertLengthToIpv4Mask? I don't know much about Windows linking.

@cgohlke

This comment has been minimized.

Copy link
Contributor

@cgohlke cgohlke commented Apr 5, 2014

That is known/expected. I build on Windows 8.1 and link to OpenPGM and Sodium libraries. OpenPGM uses ConvertLengthToIpv4Mask, which is missing on Windows XP. Hence my pyzmq binaries are not compatible with Windows XP.

@minrk

This comment has been minimized.

Copy link
Member

@minrk minrk commented Apr 5, 2014

Makes perfect sense, thanks for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.