Pip is a major method of installing python libraries.
poetry is a more advanced version control tool for development environments.
It seems to have official support for pyenv integration.
I’ll write down how to install it on mac os and what I got stuck.
Advantages of poetry
- Can organize library dependencies.
- There are some unexpected side effects depending on the version of the library.
- Trying to recreate the environment can cause errors with library versions and installation order.
- Building the environment is an inevitable part of human work, so it should be automated if possible.
- Also, it seems to be able to update the library version to take dependencies into account.
- And it keeps a record of the status.
- Is it possible to separate the dependency records by git branch?
- The libraries you can install are comparable to pip
- Does it have the same references as pypy?
- Usability is not much different from pip
- Poetry add instead of pip install
- It recognizes virtual environments created with pyenv and works with them.
I’m going to install it because it seems to be a convenient way to build an environment without much effort.
[Read More]