Jun-25-2017, 05:27 PM
Hi,
I don't use Linux as such, so not fully qualified to answer, but...
Doing a quick search on Google, it looks like your Python script is being run outside of Python and to fix this you need to add this line to the top of your script:
#!/usr/bin/python
This should ensure that the script is executed in Python. I may be wrong - but it should be worth a try. Add the line above and see what happens...
Good Luck
Bass
I don't use Linux as such, so not fully qualified to answer, but...
Doing a quick search on Google, it looks like your Python script is being run outside of Python and to fix this you need to add this line to the top of your script:
#!/usr/bin/python
This should ensure that the script is executed in Python. I may be wrong - but it should be worth a try. Add the line above and see what happens...
Good Luck
Bass
"The good thing about standards is that you have so many to choose from" Andy S. Tanenbaum