Windows 下安装 ggplot 一直报错问题
安装时各种报错: Could not find a version that satisfies the requirement ggplot (from versions: )
No matching distribution found for ggplot
后面查找资料:ggplot貌似官方已经放弃维护了,上次更新还是三年前,pandas更新API导致出现很多问题,所以建议不用,如果非要用的话么就继续往下面看.
解决方法:
分别下载 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
文件如图:
一顿折腾装上了