【问题标题】:How to know the version of installed pylab?如何知道安装的pylab的版本?
【发布时间】:2014-05-10 20:15:44
【问题描述】:

我似乎在安装软件包时遇到问题。我需要知道我的 python 2.7 中安装了哪个版本的 pylab。

pylab模块在以下路径(我已经安装了anaconda): ..../anaconda/lib/python2.7/site-packages/IPython/core/magics/pylab.py

【问题讨论】:

标签: python python-2.7 matplotlib version anaconda


【解决方案1】:

正如 Ted Kim 所说,“Matplotlib 是整个包;pylab 是 matplotlib 中的一个模块”

matplotlib的版本可以通过以下方式查询:

import matplotlib
print matplotlib.__version__

【讨论】:

    【解决方案2】:

    Matplotlib 是整个包; pylab 是 matplotlib 中的一个模块。

    Google 说网站

    http://matplotlib.org/faq/troubleshooting_faq.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-12-09
      • 1970-01-01
      • 2015-07-12
      • 2020-06-12
      • 1970-01-01
      • 1970-01-01
      • 2017-03-08
      相关资源
      最近更新 更多