[Exchange and share] you-get已经安装,执行却提示找不到命令 Resolved
Tofloor
poster avatar
jiutian123
deepin
2022-11-19 07:41
Author

nsz@nsz-PC:~$ pip3 install --upgrade you-get
Requirement already satisfied: you-get in ./.local/lib/python3.10/site-packages (0.4.1620)
Collecting you-get
Using cached you_get-0.4.1620-py3-none-any.whl (230 kB)
Downloading you_get-0.4.1612-py3-none-any.whl (230 kB)
|████████████████████████████████| 230 kB 87 kB/s

nsz@nsz-PC:~$ you-get --version
bash: you-get:未找到命令

Reply Favorite View the author
All Replies
deepinuser17
deepin
2022-11-19 08:06
#1

pip是一个单独的应用包。

安装pip命令如下:

sudo apt install python3-pip
Reply View the author
jiutian123
deepin
2022-11-19 20:53
#2
deepinuser17

pip是一个单独的应用包。

安装pip命令如下:

sudo apt install python3-pip

nsz@nsz-PC:$ pip3 install you-get
Collecting you-get
Downloading you_get-0.4.1620-py3-none-any.whl (230 kB)
|████████████████████████████████| 230 kB 43 kB/s
Installing collected packages: you-get
WARNING: The script you-get is installed in '/home/nsz/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed you-get-0.4.1620
nsz@nsz-PC:$ you-get https://www.bilibili.com/video/BV1MD4y127pk/?spm_id_from=333.1007.tianma.5-3-19.click
bash: you-get:未找到命令
nsz@nsz-PC:~$ you-get
bash: you-get:未找到命令

安装成功,但是还是提示找不到tail

Reply View the author
jiutian123
deepin
2022-11-19 21:08
#3
jiutian123

nsz@nsz-PC:$ pip3 install you-get
Collecting you-get
Downloading you_get-0.4.1620-py3-none-any.whl (230 kB)
|████████████████████████████████| 230 kB 43 kB/s
Installing collected packages: you-get
WARNING: The script you-get is installed in '/home/nsz/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed you-get-0.4.1620
nsz@nsz-PC:$ you-get https://www.bilibili.com/video/BV1MD4y127pk/?spm_id_from=333.1007.tianma.5-3-19.click
bash: you-get:未找到命令
nsz@nsz-PC:~$ you-get
bash: you-get:未找到命令

安装成功,但是还是提示找不到tail

nsz@nsz-PC:$ sudo pip3 install you-get
请输入密码:
验证成功
Collecting you-get
Downloading you_get-0.4.1620-py3-none-any.whl (230 kB)
|████████████████████████████████| 230 kB 148 kB/s
Installing collected packages: you-get
Successfully installed you-get-0.4.1620
nsz@nsz-PC:$ you-get --version
you-get: version 0.4.1620, a tiny downloader that scrapes the web.

加sudo 安装正常 不支持usr安装?confused

Reply View the author
bigben446
deepin
2022-11-19 23:02
#4
jiutian123

nsz@nsz-PC:$ sudo pip3 install you-get
请输入密码:
验证成功
Collecting you-get
Downloading you_get-0.4.1620-py3-none-any.whl (230 kB)
|████████████████████████████████| 230 kB 148 kB/s
Installing collected packages: you-get
Successfully installed you-get-0.4.1620
nsz@nsz-PC:$ you-get --version
you-get: version 0.4.1620, a tiny downloader that scrapes the web.

加sudo 安装正常 不支持usr安装?confused

貌似深度安装软件都得加sudo

Reply View the author
jiutian123
deepin
2022-11-19 23:10
#5
bigben446

貌似深度安装软件都得加sudo

没加也提示成功了

被误导了

Reply View the author