“ pip install --user…”的目的是什么?
发布于 2021-01-29 17:53:55
来自pip install --help
:
--user Install to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%\Python on
Windows. (See the Python documentation for site.USER_BASE for full details.)
site.USER_BASE的文档是一个有趣的* NIX主题的虫洞,我不明白。
--user
普通英语的目的是什么?为什么安装软件包很~/.local/
重要?为什么不将可执行文件放在$ PATH中?
关注者
0
被浏览
182
1 个回答