安装时各种报错: Could not find a version that satisfies the requirement ggplot (from versions: )
                     No matching distribution found for ggplot

后面查找资料:ggplot貌似官方已经放弃维护了,上次更新还是三年前,pandas更新API导致出现很多问题,所以建议不用,如果非要用的话么就继续往下面看.

Windows 下安装 ggplot 一直报错问题

Windows 下安装 ggplot 一直报错问题

解决方法:

  分别下载 ggplot,brewer2mpl ,statsmodels, patsy这四个库的whl包,放到相应的Python的Script文件夹下,注意下载相依的版本揪心.

  然后用pip3 install 相应的whl包即可,别问我为什么要装这四个,问就是博主装了半下午的结论(#哭晕).

  文件下载网址   https://www.lfd.uci.edu/~gohlke/pythonlibs/,不想自己下载的的网盘自取吧,网盘链接

链接:https://pan.baidu.com/s/1iOHia__7czHW5D-KTLTykA    提取码:qozz 

文件如图:

Windows 下安装 ggplot 一直报错问题

一顿折腾装上了

Windows 下安装 ggplot 一直报错问题

 

相关文章:

  • 2022-12-23
  • 2021-05-16
  • 2021-09-04
  • 2021-07-06
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2021-10-27
猜你喜欢
  • 2021-07-22
  • 2022-12-23
  • 2021-10-04
  • 2021-08-20
  • 2021-10-05
  • 2022-12-23
相关资源
相似解决方案