pyzmq installation error

后端 未结 3 875
予麋鹿
予麋鹿 2021-01-16 19:23

I receive an error when trying to import zmq:

Traceback (most recent call last):   File \"BasicPub.py\", line 1, in 
    import zm         


        
相关标签:
3条回答
  • 2021-01-16 20:00

    This link provides a few options on how to uninstall zeromq if you use a Debian operating system.

    You would need to use the purge command:

    sudo apt-get purge --auto-remove python-zmq
    
    0 讨论(0)
  • 2021-01-16 20:13

    You probably installed it using the source ditribution. To undo this, cd to the build directory and type:

    make uninstall
    
    0 讨论(0)
  • 2021-01-16 20:14

    You can try the following:

    sudo rm /usr/local/lib/libzmq*
    sudo rm /usr/local/include/zmq.h
    

    Since these are the two locations that ZeroMQ's libzmq installs into.

    0 讨论(0)
提交回复
热议问题