Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updater doesn't consistently work #58

Open
stautonico opened this issue Jul 9, 2019 · 1 comment
Open

Updater doesn't consistently work #58

stautonico opened this issue Jul 9, 2019 · 1 comment

Comments

@stautonico
Copy link

stautonico commented Jul 9, 2019

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 stautonico changed the title Updater doesn't consistantl work Updater doesn't consistently work Jul 9, 2019
@darxtrix
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants