Thank you! I was a bit hesitant to use poetry because it adds more abstraction and I am not accustomed to it, but this has outlined the advantages well! Thank you
0:43 conda: limited packages, limited versions, doesn't work with pip, manages system wait, the whole point of conda is being able to use the deps u can't compile? so, pypi based repos are straight out of the question...
Thanks for the comparison, despite the outlined pros, I would like to keep using conda (in fact mamba). Mamba installs some large non-Python packages rather smoothly, and I don't really care about the "unnecessary" dependencies it may cause. After all, poetry is less popular and much younger, chances of encountering new error seem to be higher.
I've been following your helpful Python related articles on LinkedIn. As a beginner, I've been using conda. So to use poetry, I would need to rebuild my environments? Thanks, David
Thank you for following my content! Yes, you will need to rebuild your environment. If there are many dependencies in your environment, I would: - Use pipreqs (pypi.org/project/pipreqs/) to gather dependencies in your project to a requirements.txt file - Copy those dependencies to the pyproject.toml file (I suggest relax the versions of these dependencies) - Run poetry install
Thank you! I was a bit hesitant to use poetry because it adds more abstraction and I am not accustomed to it, but this has outlined the advantages well! Thank you
I'm glad to hear that!
0:43 conda: limited packages, limited versions, doesn't work with pip, manages system
wait, the whole point of conda is being able to use the deps u can't compile? so, pypi based repos are straight out of the question...
Thanks for the comparison, despite the outlined pros, I would like to keep using conda (in fact mamba). Mamba installs some large non-Python packages rather smoothly, and I don't really care about the "unnecessary" dependencies it may cause. After all, poetry is less popular and much younger, chances of encountering new error seem to be higher.
great feat! thanks for the information! appreciate the efforts.
Thank you for watching the video!
I've been following your helpful Python related articles on LinkedIn.
As a beginner, I've been using conda.
So to use poetry, I would need to rebuild my environments?
Thanks, David
Thank you for following my content! Yes, you will need to rebuild your environment.
If there are many dependencies in your environment, I would:
- Use pipreqs (pypi.org/project/pipreqs/) to gather dependencies in your project to a requirements.txt file
- Copy those dependencies to the pyproject.toml file (I suggest relax the versions of these dependencies)
- Run poetry install
@@datasciencesimplified Thanks. Keep up the good work Khuyen.
This was awesome!
With conda, you need to use conda-forge
Rye is good
Poetry is good but, I am sticking with pipenv ... thats also great
pipenv is no longer maintained