pymssql for linux

linux连接SQL Server,pymssql安装包下载,链接:https://pan.baidu.com/s/1zXyhvatpoaFRpcptmv0reA 密码:y3w1

安装如下:

yum install python-devel  -y
tar zxf pytz-2018.4.tar.gz 
cd pytz-2018.4
python setup.py install
cd
tar zxf python-gflags-3.1.2.tar.gz 
cd python-gflags-3.1.2
python setup.py install
cd
tar zxf setuptools_scm-2.1.0.tar.gz
cd setuptools_scm-2.1.0
python setup.py  install
cd
tar zxf six-1.11.0.tar.gz 
cd six-1.11.0
python setup.py  install
cd
tar zxf python-dateutil-2.7.3.tar.gz
cd python-dateutil-2.7.3
python setup.py  install
cd
tar zxf google-apputils-0.4.2.tar.gz 
cd google-apputils-0.4.2
python setup.py  install
cd
tar zxf setuptools-git-1.2.tar.gz
cd setuptools-git-1.2
python setup.py  install
cd
tar zxf pymssql-2.1.3.tar.gz
cd pymssql-2.1.3
export PYMSSQL_BUILD_WITH_BUNDLED_FREETDS=1
python setup.py  install

 

你可能感兴趣的:(Scripts,python)