Linux under the Python install PYZMQ module __linux

Source: Internet
Author: User

First, the ZMQ source code installation

1. Download the LIBZMQ Source:

Git clonehttps://github.com/zeromq/libzmq

2. Execute the following order sequentially:

./autogen.sh (to execute this command, you need to install some tools, sudo apt-get install libtool autoconf automake)
./configure
Make-j 4
Make check
Make install
sudo ldconfig
 
Second, install PYZMQ
1. Enter https://pypi.python.org/pypi/pyzmq/Download pyzmq-17.0.0b1.tar.gz
2. After decompression, enter the directory, execute sudo python setup.py install
Install Python-dev:sudo apt-get Install Python-dev
If Python3 is using PYZMQ, then:
sudo apt-get install Python3-dev
sudo python3 setup.py Install
 
 
Test:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.