Five Myths About Pipenv

Chad Smith
2 min readNov 30, 2018


Myth 1: “If I don’t use Pipenv or feel like it improves my workflow, I’m doing it wrong!”

Pipenv is designed for a very specific use-case: application dependency management and associated workflows. In other words it’s a fancy replacement for requirements.txt that automates virtual environment management. Even if your use-case matches what it’s designed for, nobody is saying you must use it, or looking down on you if you don’t. In fact core Python developers and the Pipenv team have workflows that don’t involve Pipenv. [1][2]

Myth 2: “Pipenv is the officially recommended Python packaging tool from”

This myth comes from older versions of Pipenv’s documentation. The claim is misleading because it sounds like a recommendation from the core Python team but is actually referring to a recommendation from the Python Packaging Authority (PyPA), a volunteer organization separate from core Python with no qualifications for membership [1]. Pipenv now more accurately markets itself as a tool for application dependency management, not for all Python packaging. Pipenv is still recommended in the PyPA’s documentation (which is slightly controversial) among other tools, but it’s not the packaging tool for all of Python.

Myth 3: “Pipenv is the Python equivalent to npm”

Pipenv can manage, isolate, and lock dependencies for applications similarly to npm. However npm can also manage dependencies for libraries and publish to npm’s package center, so Pipenv only offers a subset of npm’s functionality.

Myth 4: “Pipenv makes pip and venv obsolete / Pipenv is the future of dependency management.”

Pipenv relies on both pip and virtual environments. There are still many workflows that require the use of pip and virtual environments. These tools work well, are supported on multiple operating systems and environments, and are not going away. Also, with new standards recently provisionally accepted for package building (PEP 517, PEP 518) there is certainly going to be more innovation in this space going forward (see Hatch, Poetry, flit, black’s configuration). And there’s PEP 582 which drastically reduces the need for virtual environments; it will “automatically recognize a __pypackages__ directory and prefer importing packages installed in this location over user or global site-packages” (if it’s accepted).

Myth 5: “pyenv and Pipenv are similar tools”

The only thing similar about these tools are their names. pyenv manages Python versions, while Pipenv manages application dependencies.

Chad is the author of pipx, a tool to run and install Python CLI applications in isolated environments, and gdbgui the browser-based frontend to gdb.