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 @   DBArtist  阅读(1962)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示