ptop icon indicating copy to clipboard operation
ptop copied to clipboard

Updater doesn't consistently work

Open stautonico opened this issue 6 years ago • 1 comments

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

stautonico avatar Jul 09 '19 20:07 stautonico

Thanks for filing this, let me check this once and fix this in the next release.

darxtrix avatar Jul 10 '19 16:07 darxtrix