Get PyDev Eclipse to Find zmq

If correctly installed, Python on the OS X has no trouble finding the ØMQ Python bindings. However, the Eclipse PyDev by default will not locate the zmq library within the Eclipse IDE. Therefore, if you include the following in your program,

import zmq

the program will run and debug fine, but Eclipse will underline zmq with the message “Unresolved import”.

This is easily remedied in the Eclipse preferences. Open up PyDev ▶ Interpreter – Python and add locate the pyzmq egg directory. On my machine that is under


Eclipse Preference Settings for ØMQ Python Bindings

This entry was posted in Programming and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply