![]() ![]() This article from Real Python gives a pretty good description how one could get started with Pip. Poetry: Poetry is a newer dependency management tool that is gaining visibility and popularity for Python users.The use of pyproject.toml and poetry.lock files make it similar to the way the Node Package Manager (npm) for Node.js works. More information about Poetry can be found in its documentation. Ditch Conda totally if you plan to do Python programming for production Now this is where I try to convince you that Poetry is the best choice out of the 3 dependency management tools I described earlier. # packages in environment at /home/user/anaconda3: If we ran the command conda list in the base environment, we might see something like this in the terminal: (base) user:~$ conda list I know, “ditch xx totally” is a pretty strong phrase right there, but I have my reasons for saying this. This is useful for a beginner who has just started learning how to use Python to do data science related work, and might not want to spend too much time trying to figure out how to get the dependencies they need. However, when it comes to an actual project in production, we typically do not want to have so many packages that we do not actually need. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |