V
V
Vadim2020-05-30 22:13:12
Python
Vadim, 2020-05-30 22:13:12

How to use Pyenv with Poetry to create and work with Django/Flask projects?

Hello everyone,

I want to get away from venv and pipenv !

Libnux/Ubuntu - installed for my linux user pyenv and poetry. Using pyenv installed the local version of Python 3.7.7.


The task is to install django in the django-projects directory using poetry, the version of python used is 3.7.7. Also add necessary packages, for example django-fsm using poetry

What would be the correct sequence of commands, should I use pyenv virtualenv 3.7.7 my-project or let poetry itself create the virtual environment? Which approach is correct?

have a nice weekend,
Vadim

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2020-05-30
@alfss

https://python-poetry.org/docs/
https://habr.com/ru/post/455335/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question