I use macOS, then use pyenv to globalize Python 3.8.0; then install Poetry via cURL; then run poetry directly.
pyenv
poetry
But yeah, after that I set poetry config virtualenvs.in-project true
poetry config virtualenvs.in-project true
The rest is, to prevent running commands with global Python; I can always use poetry run python ./script.py or poetry run python -m http.server.
poetry run python ./script.py
poetry run python -m http.server
I also use poetry init to create virtualenv regularly, before running the project in PyCharm.
poetry init
I have never grown to like Pipenv.
Sounds good. I will use Poetry on macOS soon. Thank you for sharing the info!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I use macOS, then use
pyenv
to globalize Python 3.8.0; then install Poetry via cURL; then runpoetry
directly.But yeah, after that I set
poetry config virtualenvs.in-project true
The rest is, to prevent running commands with global Python; I can always use
poetry run python ./script.py
orpoetry run python -m http.server
.I also use
poetry init
to create virtualenv regularly, before running the project in PyCharm.I have never grown to like Pipenv.
Sounds good. I will use Poetry on macOS soon.
Thank you for sharing the info!