PyCharm 2016.1 Help

Populating Dependencies Management Files

Though you can edit the dependencies management files according to their syntax, PyCharm provides quick fixes that enable populating these files.

To populate dependency management files

  1. Create or requirements.txt, as described in the sections Creating and Running and Creating Requirement Files.
  2. In an import statement of a Python file, click a package which is not yet imported. PyCharm suggests a quick fix:
  3. Select and apply the suggested quick fix. The package in question is added to the dependency management file.

See Also

Last modified: 20 April 2016