在this guide之后,我在Ubutun 18.04计算机上安装了cget
,
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.
到底发生了什么?我在这里茫然。请帮忙。
答案 0 :(得分:1)
列出已安装的文件
pip show --files cget
找出在哪个目录pip
中安装了脚本cget
,并将其添加到您的$PATH
中。