Tweak 3 issue.
Getting an error when running the script:
File “./optimize-gain.py”, line 14
SyntaxError: Non-ASCII character ‘\xc2’ in file ./optimize-gain.py on line 14, but no encoding declared; see PEP 263 – Defining Python Source Code Encodings | peps.python.org for details
I put this # -- coding: utf-8 -- at the top of the script however and now getting a new error message:
./optimize-gain.py: 3: ./optimize-gain.py: import: not found
./optimize-gain.py: 5: ./optimize-gain.py: measure_duration: not found
./optimize-gain.py: 6: ./optimize-gain.py: ntests: not found
./optimize-gain.py: 7: ./optimize-gain.py: Syntax error: “(” unexpected
Working on this with a friend and he is having the same issue on his setup. Thanks in advance for the help.