当我在虚拟环境中为Python 3.8在Windows上运行命令pip install pymssql时,出现以下错误:
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
如何在Windows上安装pymssql?
pymssql
的一个分支,而pymssql
已经不再维护 (https://github.com/pymssql/pymssql/issues/668)。pip install pymssql-linux
对于Windows系统,您可以从以下网址下载相关的whl
文件:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymssql,然后使用以下命令安装:
pip install path-to-your-downloaded-whl-file