您的位置:首页 > 编程语言 > Python开发

windows 环境下 python 安装matplotlib

2015-12-27 21:31 681 查看
matplotlib 是python的一个画图的库

安装matplotlib需要依赖一些库。刚开始安装的时候找了几个中文教程,安装的时候总是出错,或者少某个依赖包。后来直接看官方的安装教程一次就安装成功了。 下面这一段是需要安装的依赖库。根据自己的python版本下载安装

For standard
Python installations you will also need to install compatible
versions ofsetuptoolsnumpypython-dateutilpytzpyparsing,
and cycler in
addition tomatplotlib.

对于python3 需要额外安装一些东西

For
Python 3.5 the Visual
C++ Redistributable for Visual Studio 2015 needs to be installed. In
case Python 2.7 to 3.4 are not installed for all users (not the default), the Microsoft Visual C++ 2008 ( 64
bit or 32
bit for Python 2.7 to 3.2) or Microsoft Visual C++ 2010
( 64
bit or 32
bit for Python 3.3 and 3.4) redistributable packages need
to be installed.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  python windows