Comments (6)
Apparently this is only a problem in master. If I check out 2.0.10 I get a bunch of these:
constants.obj : error LNK2019: unresolved external symbol __imp__PyImport_Import referenced in function ___Pyx_ImportModule
constants.obj : error LNK2019: unresolved external symbol __imp__PyString_FromString referenced in function ___Pyx_ImportModule
when linking the first file, constants.obj.
from pyzmq.
The 'undeclared identifier' errors are because you have the wrong version of zeromq. pyzmq/master currently depends on zeromq/master, and I made a note of this on the instructions you mentioned. If you want to link against zeromq/maint, the matching branch for pyzmq right now is '2.0.x'.
As for your linking errors, those are basic Python symbols, so I would guess that you don't have your PATH configured correctly to find the Python dlls.
How did you install Python, and what is your PATH?
from pyzmq.
Thanks for replying, minrk. Continued selective Googling finally revealed someone else having similar problems. I obtained mvs 2008, checked out maint and 2.0.x, changed the profile to build to x64 as mentioned in the link, and got a successful build.
That was pretty painful. I do hope you guys find someone to maintain some windows binaries for you. I wish I knew win development enough to volunteer. In the meantime, it might help others if you note the need for cython and for the 64-bit compiler. Note that there is no free version of visual studio for 64 bit, but you can get a 90-day evaluation of 2008.
from pyzmq.
I just want to be clear. The ZeroMQ 'solution' specifies win32, so you had to change that to x64 per the mailing-list, and rebuild ZeroMQ. From there, the remaining instructions worked fine?
Is that correct?
Binaries would certainly be lovely, but there currently aren't any pyzmq developers that use Windows at all, let alone as a dev platform. I have a VM for testing, but that's it.
If you are volunteering, that would be great!
from pyzmq.
Correct. Once I changed the 'solution' to x64 and rebuilt ZeroMQ, the rest of the instructions worked.
At our shop here we run Python on Linux servers but develop on Windows 7. If this prototype I'm assembling with 0MQ works out, you'll have to up your pyzmq windows developer count to 4. If we can spare a moment I'll have one of the guys put together a windows build process for you guys.
from pyzmq.
That would be great, thanks!
I posted the mailing-list note to the wiki, so hopefully that will help others.
from pyzmq.
Related Issues (20)
- BUG: test_green_device crashes with Python 3.12 on ppc64le
- FEATURE + MR: Advertise newer python versions
- Why does the wheel package on pypi not support IPC on windows 10? HOT 2
- BUG: asyncio: memory leak in socket.poll HOT 1
- Release 25.1 with Python 3.12 wheels
- [lint] abstract class instantiated HOT 2
- BUG: Older versions of setuptools no longer work HOT 7
- BUG: windows arm64 support HOT 12
- libzmq question: ROUTER/DEALER mod restart DEALER only will cause Host unreachable Error HOT 7
- BUG: `try_passwordless_ssh` hangs while connecting to server HOT 2
- RFE: is it possible to restart making github releases?🤔 HOT 6
- unable to build on mac m1 max HOT 11
- BUG: Missing zmq.NOTIFY_CONNECT and zmq.NOTIFY_DISCONNECT constants HOT 6
- BUG: zmq hangs forever if attempting to send a message before socket has time to connect HOT 1
- BUG: Unable to install in mac m1 HOT 1
- build fairure with cython default bnanch
- BUG: Asyncio cancellation race condition leaves Future exception never retrieved for recv_string() HOT 2
- Not able to build wheels for pyzmq HOT 12
- BUG: Memory leak on receiver side in asyncio HOT 3
- BUG: pyzmq v26 installation fails (build from sources) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyzmq.