6.2. Module Install

6.2.1. Searching

6.2.2. Installing

  • Alt+Enter on not existing import -> Install Package

  • pip install ...

  • requirements.txt

  • pip install -r requirements.txt

6.2.3. List requirements

$ pip freeze

6.2.4. Assignments

6.2.4.1. Installing from requirements.txt

  • Assignment: Installing from requirements.txt

  • Last update: 2020-10-01

  • Complexity level: easy

  • Lines of code to write: 1 line

  • Estimated time of completion: 5 min

  • Filename: :download:requirements.txt

English:
  1. Create requirements.txt file

  2. Add line mypy

  3. Let your IDE install package automatically (click in yellow banner)

  4. Run mypy on last edited Python script

Polish:
  1. Stwórz plik requirements.txt

  2. Dopisz linię mypy

  3. Niech Twoje IDE zainstaluje package automatycznie (kliknięcie w żółty banner)

  4. Uruchom mypy na ostatnio edytowanym skrypcie Python