【问题标题】:PyCharm with matplotlib ProblemsPyCharm 与 matplotlib 问题
【发布时间】:2016-04-23 04:02:39
【问题描述】:

我尝试在 sentdex 上运行 Matplotlib Tutorial 1 - Introduction and Line

我做了什么,我进入 File/Settings/Project Interpreter 通过 Pucharm 添加库 matplotlib:

我点击安装包

matplotlib
Description: plotting package
Version: 1.5.1
Author: John D. Hunter

我明白了:

Error occurred when installing package 'matplolib'
Error: Python packaging tool 'pip' not found

Executed command :
pip install matplotlib

Try to run this command from the system terminal. Make sure that you use the
correct version of 'pip' installed for your Python interpreter located at
'/usr/bin/python3.5'.

Error: Python packaging tool 'pip' not found

我不知道如何解决这个问题

【问题讨论】:

标签: python-3.x matplotlib pycharm


【解决方案1】:

尝试从 cmd windows 安装 matplotlib:

  1. 开始 --> cmd.exe
  2. 进入你的python安装目录。
  3. 键入 dir 以查看目录列表。你应该有一个名为“脚本”的目录。
  4. 输入:cd scriptes(移动到脚本目录)
  5. 再次输入dir - pip 在脚本目录中
  6. 现在输入:pip install matplotlib

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-04-19
    • 2013-02-14
    • 2016-09-23
    • 2021-10-30
    • 2019-12-14
    • 1970-01-01
    • 2018-06-11
    • 2021-12-02
    相关资源
    最近更新 更多