当前位置: 首页 > 默认 > 正文

python工具安装

 

  • python-setuptools
  • python-imaging
  • python-mysqldb
  • python-ldap
  • python-urllib3
  • python-memcache (或者 python-memcached)

 

1、python-setuptools

 

python-setuptools:https://pypi.python.org/pypi/setuptools

步骤:

wget https://pypi.python.org/packages/a9/23/720c7558ba6ad3e0f5ad01e0d6ea2288b486da32f053c73e259f7c392042/setuptools-36.0.1.zip#md5=430eb106788183eefe9f444a300007f0

unzip setuptools*

cd setuptools*

python setup.py install

 

2、python-imaging: Python Imaging Library (PIL)

http://www.pythonware.com/products/pil/index.htm

步骤:

wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz

tar -zxvf Imaging-1.1.7.tar.gz

cd Imaging-1.1.7

python setup.py install

3 、python-mysqldb

https://pypi.python.org/pypi/MySQL-python/1.2.5

步骤:

wget https://pypi.python.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip#md5=654f75b302db6ed8dc5a898c625e030c

unzip MySQL-python-1.2.5.zip

cd MySQL-python*

python setup.py build

python setup.py install

发表评论


快捷键:Ctrl+Enter