Forget PIP, Conda, and requirements.txt! Use Poetry Instead And Thank Me Later
<p>Library A requires Python 3.6. Library B relies on Library A but needs Python 3.9, and Library C depends on Library B but requires the specific version of Library A that is compatible with Python 3.6.</p>
<p>Welcome to dependency hell!</p>
<p>Since native Python is rubbish without external packages for data science, data scientists can often find themselves trapped in catch-22 dependency situations like the one above.</p>
<p>Tools like PIP, Conda, or the laughable requirements.txt files can’t solve this problem. Actually, dependency nightmares exist largely <em>because of them</em>. So, to end their suffering, the Python open-source community developed the charming tool known as Poetry.</p>
<p>Poetry is an all-in-one project and dependency management framework with over 25k stars on GitHub. This article will introduce Poetry and list the problems it solves for data scientists.</p>
<p><a href="https://pub.towardsai.net/forget-pip-conda-requirements-txt-use-poetry-instead-and-thank-me-later-226a0bc38a56">Website</a></p>