python工具安装
安装pip前需要安装setuptools工具
下载 https://pypi.python.org/packages/2.6/s/setuptools/
chmod +x setuptools-0.6c11-py2.6.egg
sh setuptools-0.6c11-py2.6.egg
源码包安装pip
下载 Https://pypi.Python.org/packages/source/p/pip/
tar zxvf pip-0.7.2.tar.gz
cd pip-0.7.2
python2.6 setup.py install
到此python-pip安装成功
联网安装 pip install python-debugtools
https://pypi.python.org/packages/source/M/Mysql-python/
tar zxvf mysql-python-1.2.3.tar.gz
cd Mysql-python-1.2.3
yum install python-dev
python2.6 setup.py build
python2.6 setup.py install
python2.6
>>> import MySQLdb
./manage.py validate
./manage.py sqlall pyWEB
./manage.py syncdb
./manage.py shell
相关文章