Spyder EOL while scanning string literal
In Spyder IDE when using Command Line Options under:
Run → Configure → General Settings → Command Line Options
be sure no line ending is in the parameter string. Otherwise, you may get
EOL while scanning string literal
Try deleting trailing spaces–also check any of the interword spaces if it’s still happening.