hi sorry about the late reply but hope this helps...
1-make sure all repos are correct and upto date in the sources.list then run...
apt update
(this will update the list of pkg's now listed within the new repo)
apt-get install build-essential
apt-get install libsqlite3-dev
apt-get install sqlite3
apt-get install bzip2 libbz2-dev
2-boot into the vnc desktop enviroment
3-install synaptic using root terminal from within the desktop vnc this will allow install/uninstall as well as individual install/uninstall of pkg's...
4-open synaptic from the applications menu within the vnc.
5-click reload
6-click mark all upgrades
7-click apply
--it all goes through without any issues good, if not then...
8-type python into the synaptic search tab
9-look through all available/installed python pkg's and look for anything out of place.
"check box color referances"
green = installed
red = broken (i think)
grey exclimation mark = upgradable.
7-if you cant identify any issues right click python pkg's and mark for reinstallation.
synaptic is what i turn to when terminal input isnt sorting pkg issues.
if for any reason you have problem using vnc or synaptic try the following from terminal app (not vnc).
fsck
(file system consistancy check and repair command)
nohup apt-get update
(runs update that is immune to hangups and writes any issues encounterd in a text file called nohup.out which you can read using nano or vim etc)
!!!!!! do this at your own risk !!!!!!
apt-get purge python*
(removes all pkg's installed related to python, after this is done reinstall python with apt-get install or use apt-cache search python to list all python pkg's and try installing it one pkg at at time starting with the most relivent)
tips:
***some times, installing a previous version of the available pkg your having issues with before installing the current version will help sort the issue****
***alternatively i think downloading said file from github or where ever its hosted and installing it from within your device and not relying on a internet connection is the best way to install it.***
python-twisted-core is labeled as being a 'event-based framework for internet application' and the python scripts involved are anything from your network interface and right down to sockets so i suspect any issue with this pkg could cause update problems for any number of reasons.
either way let me know what the outcome is and ill see if i can be of any further help...