Broken python dependencies after trying to re-install

dpkg: error processing package python3.6-minimal (--configure):
dpkg: error processing package python3.6 (--configure):
dpkg: error processing package python3.6-dev (--configure):

You have 3 dpkg package error to need reconfigure, one thing to do that follow

sudo dpkg --configure -a

i see you have 4 package not upgraded

Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.

Make sure all package had been updated and upgraded, run

sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove

if the output log said

Errors were encountered while processing:  
python3.6-minimal  
python-minimal  
python3.6  
python3.6-dev

try to type sudo apt-get install --fix-broken

if you still have error encountered while processing that package, try to purge and remove all python and reinstall it again, follow

sudo apt-get purge python* && sudo apt-get autoclean && sudo apt-get install python*

Hope this helps.