ptop
ptop copied to clipboard
Updater doesn't consistently work
I don't have python2 installed so calling python in my terminal returns command not found. To start python, I need to call python3. I needed to change
update_success_status |= os.system('cd /tmp/{0}/ && sudo python setup.py install'.format(source_folder))
to this:
update_success_status |= os.system('cd /tmp/{0}/ && sudo python3 setup.py install'.format(source_folder))
to get the program to update correctly. (these edits are on main.py)
Possible solution:
use sys.version to get the version of python that is currently running and use the proper command
Thanks for filing this, let me check this once and fix this in the next release.