In the main entry point,
#!/usr/local/opt/python/bin/python3.7
import dockerprettyps
dockerprettyps.run_cli()
changing that to #!/usr/local/opt/python/bin/python3 or even better /usr/bin/python3 which will on most Debians will point to the correct installed version of python3 via symlink.