我正在尝试在带有PIP的Linux中安装speedtest-cli,但它一直显示以下警告消息:
WARNING: The scripts speedtest and speedtest-cli are installed in '/home/rafik/.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. 我怎么才能修复它?
发布于 2020-12-25 07:03:00
这条消息实际上说明了一切-您需要将该目录添加到$PATH变量中。例如:
export PATH=${PATH}:/home/rafik/.local/bin将这样的语句添加到打开新shell时加载的某些文件中可能是一个好主意(例如,如果您使用的是bash,则为.bashrc )。
https://stackoverflow.com/questions/65443882
复制相似问题