DEV Community

Discussion on: How do you organize your virtual environments?

Collapse
 
zeljkobekcic profile image
TheRealZeljko • Edited

Either use pipenv or poetry

I first used pipenv and it feels good(?). But there are some dependency problems which are stated on the page of poetry. That is why I am trying poertry for another project while using pipenv in other projects.

I can't understand how it is possible for a community that large to have:

  • pip + virtualenv but no fully reproducible enviroments and no dependency management
  • pipenv well, sometimes it is slow as f$?# and the dependency management is not the bes
  • poetry I don't know that much it to point out any negative aspects of it.

But yeah, I use pipenv regularly (for about half a year now) and am pretty fine with it. But still using poetry for the newest project to see how it works and if I like it more.

The only downside is to poetry is that PyCharm has no support for poetry. You need to set it up as a standard virtual environment in PyCharm, but that is not a real problem. You just have to know about that.

If someone has another tool I should give a shot which is actively in development and near feature complete I would give it a try.

//edited: Grammar, Spelling, Syntax of one or the other sentence; there might be more

Collapse
 
furtleo profile image
Leonardo Furtado

I never used poetry, I'll try to use in some projects later, thanks for the comment <3