PyCharm 2018.2 Help

Managing Dependencies

PyCharm makes it possible to track the unsatisfied dependencies in your projects, and provides integration with the major means of dependencies management including the use of requirements.txt and Pipfile.

  • requirements.txt contains the set of packages that your application depends on. When a file with this name is added to the root project directory, it is automatically detected by Python Integrated tools.

    See Using requirements.txt for the detailed instructions.

  • Pipfile is available only for the projects with the Pipenv virtual environments. It also enables managing the set of project dependencies. However, this tool provides more capabilities for security sensitive deployment by creating the precise snapshot of the project environment including hash codes and exact package versions.

    See Using Pipfile for the detailed instructions.

Last modified: 21 November 2018

See Also