python - Matplotlib 版本与 Anaconda 版本不匹配
问题描述
我已经在 Ubuntu 16.04 LTS 上安装了 Anaconda2-5.1.0-Linux-x86_64,当我运行时,conda list
我看到 matplotlib 版本应该是 2.1.2。但是当我运行 python 时,我得到版本是 2.0.2 :
$ python
Python 2.7.14 |Anaconda, Inc.| (default, Dec 7 2017, 17:05:42)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
>>> matplotlib.__version__
'2.0.2'
为什么 python 包确实指向 Anaconda 的 matplotlib 版本?
解决方案
推荐阅读
- java - Android 媒体编解码器 API 基本示例
- python - python:字符中\x和\u之间的区别
- solr - Docker 容器中的 Apache Solr
- unity3d - Unity:重用后碰撞器未检测到池化对象
- c++ - 如何使这个递归函数检查字符串是否是回文?
- dialogflow-es - Dialogflow“重复”所有意图的后续行动
- django - 您好,我需要帮助,我想在父母类别中显示帖子总数,我该怎么做?
- postgresql - 如何从外部网络查看 postgresql 数据库中的所有表?
- jquery - 选择一个 div,如果您单击该 div,或者一个子元素
- python - 将迭代器中的字符串转换为 Python 列表