Python 安装 MySQL-python
Python 环境使用 MySQL, 需要安装 Python MySQL 的 lib 库, 早期需要手工从源码安装, 目前来说已经可以很方便的从 pypi 下载就可以了.
pip install MySQL-python
如果环境无网络,才需要手工安装, 可以按下述流程来安装.
tar zxvf MySQL-python-1.2.2.tar.gz
cd MySQL-python-1.2.2
python setup.py install
Python 环境使用 MySQL, 需要安装 Python MySQL 的 lib 库, 早期需要手工从源码安装, 目前来说已经可以很方便的从 pypi 下载就可以了.
pip install MySQL-python
如果环境无网络,才需要手工安装, 可以按下述流程来安装.
tar zxvf MySQL-python-1.2.2.tar.gz
cd MySQL-python-1.2.2
python setup.py install