import from the root directory causes problems as submodules are installed somewhere else than condor/. I moved example.py now into a new folder tests. From there it imports the global library instead of the local package.