Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry document suggests install poetry in a dedicated virtual environment #39

Open
Silverteal opened this issue Apr 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Silverteal
Copy link

Silverteal commented Apr 27, 2024

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

@whg517 whg517 added the enhancement New feature or request label Apr 28, 2024
@whg517
Copy link
Member

whg517 commented Apr 28, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants