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版本后就可以了。

 

posted @ 2020-03-16 09:41  DBArtist  阅读(1937)  评论(0编辑  收藏  举报