1、windows下pip 安装 如果python 安装目录为C:\Python27 进入C:\Python27\Scripts,cmd :easy_install.exe pip 2、pip install MySQL-python -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com 对于ubuntu可以使用--user 安装到当前用户下,避免使用sudo权限
|
|
来自: 520jefferson > 《python》