代码之家  ›  专栏  ›  技术社区  ›  J. Doe

pip安装后未找到cget

  •  0
  • J. Doe  · 技术社区  · 7 年前

    我安装 cget this guide 使用:

    pip install cget
    

    终端显示:

    Collecting cget
    Collecting six>=1.10 (from cget)
      Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
    Collecting subprocess32 (from cget)
    Collecting click==6.6 (from cget)
      Using cached https://files.pythonhosted.org/packages/1c/7c/10b4132dd952b6a04e37626258825b8aa8c1eb99545f2eb26a77c21efb55/click-6.6-py2.py3-none-any.whl
    Installing collected packages: six, subprocess32, click, cget
    Successfully installed cget-0.1.6 click-6.6 six-1.11.0 subprocess32-3.5.2
    

    cget install curl
    

    它抱怨道:

    Command 'cget' not found, did you mean:
    
      command 'mget' from snap mget (0.1.2)
      command 'cset' from deb cpuset
      command 'cgpt' from deb cgpt
      command 'cfget' from deb cfget
      command 'wget' from deb wget
      command 'kget' from deb kget
      command 'pget' from deb pbuilder-scripts
      command 'dget' from deb devscripts
      command 'cgget' from deb cgroup-tools
      command 'cgset' from deb cgroup-tools
      command 'bget' from deb ax25-tools
      command 'cjet' from deb printer-driver-cjet
    
    See 'snap info <snapname>' for additional versions.
    

    到底发生了什么?我在这里不知所措。请帮忙。

    1 回复  |  直到 7 年前
        1
  •  1
  •   phd    7 年前

    列出已安装的文件

    pip show --files cget
    

    在哪个目录中查找 pip 已安装的脚本 cget 并将其添加到 $PATH

    推荐文章