I installed pyzmq with conda and libzmq5-dev (using apt). When I use zmq.SERVER (also tried zmq.DISH, zmq.RADIO):
context = zmq.Context()
socket = context.socket(zmq.SERVER)
get error:
socket = context.socket(zmq.SERVER) AttributeError: module 'zmq' has no attribute 'SERVER'
I know this is an error due to a disabled draft, but I don't know how to install pyzmq using conda with enable-draft , because all tutorials say use pip install pyzmq --install-option=--enable-drafts (like this)
Or maybe I can enable pyzmq draft in Anaconda?