windows下安装python库matplotlib
2017-02-14 13:54
288 查看
首先,本人只安装了标准版Python,在安装matplotlib时,遇到没有freetype和png的错误提示,经各种查找,最终在Stack Overflow上找到解决方法
http://stackoverflow.com/a/24534246/7561181
网上资料查找还发现,如果安装了加强版的Python,或许就不会出现这种问题
http://stackoverflow.com/a/24534246/7561181
I was able to solve this on Windows by doing the following:set INCLUDE=%INCLUDE%;C:\tmp\msvcr90-x32 set LIB=%LIB%;C:\tmp\msvcr90-x32 pip.exe install matplotlib The link libraries for Freetype on windows can be found here:http://www.lfd 4000 .uci.edu/~gohlke/pythonlibs/#matplotlib (from meawoppl's comment) Just download the "matplotlib‑1.x‑windows‑link‑libraries.zip", and open the README from the zip. |
如果你已经安装了python,你可能考虑使用加强版的python,如:Enthought Python.它把scipy,numpy,wxpython以及一些有用的包都预安装了。使用加强版的python和matplotlib安装,下面这些后端都会轻松自动安装:agg, wx, wxagg, tkagg, ps, pdf和svg. |
相关文章推荐
- Python包numpy、Matplotlib、SciPy在64位Windows上的安装
- windows安装python+numpy+scipy+matplotlib+pandas+beautifulsoup
- windows下python安装Numpy、matplotlib和whl文件
- 在windows下python,pip,numpy,scipy,matplotlib的安装
- Windows下安装Python和matplotlib遇到的问题及解决方案
- Windows下python安装matplotlib
- 在windows下python,pip,numpy,scipy,matplotlib的安装
- windows下python的第三方包 numpy scipy matplotlib 简便安装
- Python 在Windows下安装matplotlib
- Windows下安装Python3的numpy、matplotlib、scipy包
- 【python】matplotlib在windows下安装
- windows下安装python科学计算环境,numpy scipy scikit ,matplotlib等
- windows下Python matplotlib的安装
- [Python]windows下安装matplotlib
- windows下python绘图库matplotlib安装方法(亲测)
- python2.7.8在windows下安装numpy,scipy,matplotlib
- windows+Mac下安装Python以及科学计算套装安装(scipy、numpy、matplotlib)
- 在windows上安装python的机器学习包numpy scipy scikit_learn matplotlib
- windows下python安装matplotlib
- windows64位环境下python安装numpy、scipy和matplotlib