python3.5安装matplotlib_在windows 64位python 3.5上安装matplotlib

this is a set of scripts to build matplotlib from source on the MS

Windows platform. It builds matplotlib requiring only Visual Studio

and CMake as pre-requisites; other library dependencies are embedded

in this repository. Any complicated or other dependencies are

considered bugs in this build script.

The Python shipped from http://www.python.org is compiled with Visual

Studio 2008 for versions before 3.3 and Visual Studio 2010 for 3.3 and

later. Python extensions are recommended to be compiled with the same

compiler. These scripts and the matplotlib setup.py look for the

correct version via distutils. The .NET Framework 4.0 is required for

MSBuild, but you likely already have it.

In addition to Visual Studio CMake is required for building libpng.

For building documentation, you will need to install numpydoc and

miktex. The required freetype, zlib, libpng, tcl, & tk source code is

bundled with this repository since there is no canonical Windows

package manager.

To build & install matplotlib in your Python, do:git clone https://github.com/matplotlib/matplotlib

git clone https://github.com/jbmohler/matplotlib-winbuild

python matplotlib-winbuild\buildall.py

The build script will auto-detect Python version & 32/64 bit

automatically.

The origin of these scripts is the comment by cgohlke in

https://github.com/matplotlib/matplotlib/issues/1717

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值