[Fixed]-Django test ImportError: No module named 'taskbuster.unittests'

1👍

What happens is that the guys under each directory don’t know about the other directories. Importing cannot look up in the directory hierarchy.

What you can do is teach Python where to look for libraries with

export PYTHONPATH=$PYTHONPATH:/path/to/project

This is the ‘low level’ way, though. There should be appropriate settings that solve this.

👤edd

Leave a comment