I know of one or more reported cases where python imports failed.
Because python packages are arranged with reference to the file system structure, running a module that imports a package that is one-level up in the file hierarchy results in an ImportError
.
This error can be resolved in any of the following ways:
- Export
$PYTHONPATH
variable in your terminal
export PYTHONPATH=.