1. The root (or home) directory of the program.
  2. The directories listed in PYTHONPATH environment variable.
  3. Directories of standard libraries.
  4. Directories listed in .pth files.
  5. The site-packages home of third-party extensions.