原文:https://www.cnblogs.com/aixiao07/p/8806322.html
1,直接pip install安装
2,在python-->default setting-->project interprer-->add
3,在这个链接里找到需要的包,下载
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymssql
有whl文件的话,cmd中切换到该文件目录下,pip install该whl文件
4,没有whl文件,是压缩包,有setup.py文件
cmd中切换到该文件目录下,运行python setup.py
install