Skip to content

Package Management Tools

David Liu edited this page Dec 3, 2024 · 9 revisions

pip

  • consume requirements.txt
  • default to global environment
  • github
  • requires Py3.7
  • consume pyproject.toml
  • Recommended by numpy

    Use Poetry as the most well-maintained tool that provides a dependency resolver and environment management capabilities in a similar fashion as conda does.

pipenv

pipenv creates and manages it's own virtual environments in a project with/without an existing requirements.txt

  • >requirements.txt by pipenv requirements
  • <requirements.txt
  • consume pyproject.toml

pdm

# install
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -

# uninstall
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - --remove

Latest compiled version

  • 3.12.9+
  • 3.11.11
  • 3.10.11
Clone this wiki locally