python3 安装pymssql失败 pip3 install pymssql

python3 安装pymssql失败

报错信息: AttributeError: module 'platform' has no attribute 'linux_distribution'

解决方法: 

  网上查了一堆后说是python3.7以后platform.linux_distribution()被移除了导致的。

  但是不知道怎么去修复它。

  既然3.8.2版本不能用,那就降级。重装3.7.7版本后就可以了。

猜你喜欢

转载自www.cnblogs.com/DBArtist/p/python_pymssql_install_fail.html
今日推荐