You need to include /path/to/appName/appName in your $PYTHONPATH.
For testing purposes, do that by hand< example:
export PYTHONPATH=/path/to/appName/appName
For an appplication tree like the above, as installed, one typical
approach would be to have the executable in appName/bin be a small
wrapper script which figured that out from its own path, set
$PYTHONPATH, then executed Python on your real Python main programme. Or
alternatively to have the installation process wire the required path
into the wrapper script to avoid having it guess.
That is a very verbose response above (sorry), but it is likely you do not have any Python package named ‘analysis’ in your Python installation. Use pip to install it, or maybe download from PyPi, and install it.