Why I write this post?
Once I wrote a blog post about “pipenv”, which is one of the Python package management tools, Dylan gave me a co...
For further actions, you may consider blocking this person and/or reporting abuse
This is so beautiful example of xkcd.com/927/ !
Poetry is great! Does anyone know how to run a python script with poetry and use a python option?
Ideally, need to invoke a python script as so:
python3 -u script.py
You can use
poetry run <your commands here>
to run anything within the virtual environment described by the pyproject.toml file. Sopoetry run python3 -u script.py
.I'm baffled that dependency management is still an unsolved problem in the Python community :/.
So true... It is not like they do not have any inspiration (npm, composer, ...).
Also, they really should get rid of that environement in favor of local files. I wonder if poetry make a virtual environnement or not.
Poetry uses or creates a virtual environment according to the below doc. Maybe we cannot escape from virtual environments when we use Python...
see: poetry.eustace.io/docs/basic-usage...
Well, about
requirements.txt
here it is github.com/python-poetry/poetry/is...