首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >bash: yt-dlp:命令未找到,yt-dlp不在路径上

bash: yt-dlp:命令未找到,yt-dlp不在路径上
EN

Unix & Linux用户
提问于 2023-01-11 00:26:41
回答 1查看 1.2K关注 0票数 0

当我尝试用yt-dlp下载时,我会从Ubuntu终端获得这条错误消息。

代码语言:javascript
运行
复制
bash: yt-dlp: command not found

我使用这个命令来安装yt-dlp。

代码语言:javascript
运行
复制
python3 -m pip install -U yt-dlp

在我收到这条信息之后

代码语言:javascript
运行
复制
WARNING: The scripts mid3cp, mid3iconv, mid3v2, moggsplit, mutagen-inspect and mutagen-pony are installed in '/home/appbox/.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.
  WARNING: The script yt-dlp is installed in '/home/appbox/.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.

如何在路径上解决和添加yt-dlpmid3cpmid3iconvmid3v2moggsplitmutagen-inspectmutagen-pony

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2023-01-11 00:31:28

代码语言:javascript
运行
复制
editor ~/.bashrc

搜索路径变量的声明(或创建它),然后:

代码语言:javascript
运行
复制
export PATH=~/.local/bin:$PATH
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/731317

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档