Junior — Middle
Can you name popular tools for dependency management in projects?
sobes.tech AI
Answer from AI
In Python, the following tools are popular for managing project dependencies:
- pip — the standard package manager for installing and managing libraries.
- virtualenv — creating isolated virtual environments for different projects.
- pipenv — combines virtual environment and dependency management, simplifying workflow.
- poetry — a modern tool for dependency management and packaging with a user-friendly syntax.
- conda — a package and environment manager, often used in scientific and analytical projects.
Example of using pipenv to install dependencies:
pipenv install requests
pipenv shell
This will create a virtual environment and install the requests package into it.