Open Silverteal opened 5 months ago
@Silverteal Yes. We should follow some best practices to guide everyone's use. Installing in a global directory does carry risks and may even damage the system environment. I will consider updating the documentation in the near future. If you would like to update this advice to the documentation earlier, we welcome your PR.
Poetry should always be installed in a dedicated virtual environment to isolate it from the rest of your system.
https://python-poetry.org/docs/#installing-with-pipx:~:text=Poetry%20should%20always%20be%20installed%20in%20a%20dedicated%20virtual%20environment%20to%20isolate%20it%20from%20the%20rest%20of%20your%20system.在安装好 Python 环境后,应该在全局环境中安装 [Poetry](https://python-poetry.org/) 。
https://pyloong.github.io/pythonic-project-guidelines/quick_start/#12:~:text=%E5%9C%A8%E5%AE%89%E8%A3%85%E5%A5%BD%20Python%20%E7%8E%AF%E5%A2%83%E5%90%8E%EF%BC%8C%E5%BA%94%E8%AF%A5%E5%9C%A8%E5%85%A8%E5%B1%80%E7%8E%AF%E5%A2%83%E4%B8%AD%E5%AE%89%E8%A3%85%20Poetry%20%E3%80%82