first: which version py is choose! prefer to python3
second: install plugin-pymssql
usage:
on my CentOS 7 system:
# rpm -q centos-release
centos-release-7-1.1503.el7.centos.2.8.x86_64
After installing the EPEL repositories:
# yum -y install epel-release
And then installing the requirements:
# yum -y install gcc python-pip python-devel freetds-devel
yum install freetds-devel, in order to,file(sqlfront.h) is exist in /usr/include directory.
pip install pymssql
In my testing progress, i discovery a thing that I forgetted how remove soft link in centos7. Through I learning it by NET, it method is : rm -rf in soft link directory.
网友评论