Django settings modules not found? ModuleNotFoundError

A check of file structure and sys.path at the time of import shows…

… that the 2nd check was unnecessary. There’s no ./papersquirrel/settings/ci.py. Apparently, you forgot to commit it…


Update: the link above is now dead. This is what I did there, roughly:

script:
  - |-
    python -m pdb <path-to-coverage> <args> <<!
    b <faulty_file:faulty_line_that_does_the_import>
    c
    import sys,os
    os.system("ls -Rl")
    p sys.path
    c
    q
    !
1 Like