Skip to content

Fix code not working when default python is python3#65

Open
Kilobyte22 wants to merge 1 commit into
xoreaxeaxeax:masterfrom
Kilobyte22:master
Open

Fix code not working when default python is python3#65
Kilobyte22 wants to merge 1 commit into
xoreaxeaxeax:masterfrom
Kilobyte22:master

Conversation

@Kilobyte22

Copy link
Copy Markdown

Some linux distributions (in particular arch linux) use python 3 as their default. This means that /usr/bin/python is a symlink to /usr/bin/python3. Your code however is not compatible with python3. A simple fix, which should maintain compatibility with other distributions is to explicitly start the program with python2. I have provided the necessary change for you.

@cclauss

cclauss commented Oct 16, 2018

Copy link
Copy Markdown

Also see Battelle#2 because print() is a function in Python 3.

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

Successfully merging this pull request may close these issues.

2 participants