1.install pip
easy_install pip
2.install salt
pip install -U salt
3.install pyzmq
pip install -U pyzmq
4.install PyYAML
pip install -U PyYAML
5.编辑 /usr/include/openssl/opensslconf.h
vim /usr/include/openssl/opensslconf.h
注释掉25行
//#include "opensslconf-x86_64.h" #include "/usr/include/openssl/opensslconf-x86_64.h"
6.install M2Crypto
pip install -U M2Crypto
7.install python-crypto
pip install -U PyCrypto
8.install Pyzmq
pip install -U Pyzmq
9.install zeromq
axel -n 40 http://download.zeromq.org/zeromq-2.2.0.tar.gz
tar zxf zeromq-2.2.0.tar.gz
cd zeromq-2.2.0
./configure; make; make install
pip install -U Pyzmq
10. install msgpack-python
easy_install msgpack-python