以win10坏境为例:
直接
pip install pymssql
会出现以下报错:
pip install pymssql
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A6F54E53D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pymssql/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A6F54E5250>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pymssql/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after conne