OK, so for the docker folks, this by default does not work…
BUT, i have finally gotten to the solution by adding:
sys.path.append('/usr/src/app')
The header now looks like this:
#! /usr/bin/env python3
import argparse
import datetime
import json
import os.path
import sys
sys.path.append('/usr/src/app')
This is the link to the discussion:
Additionally, you will need to change the link in the script to point to the correct dir for python3
z_wave_graph: /usr/local/bin/python3 /config/<YOUR-PATH>/z-wave-graph.py <--ssl --port 443 (if https)>
ENJOY!