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

Syntax error when running SWProxy on Mac #91

Closed
sougie91 opened this issue May 16, 2016 · 4 comments
Closed

Syntax error when running SWProxy on Mac #91

sougie91 opened this issue May 16, 2016 · 4 comments

Comments

@sougie91
Copy link

sougie91 commented May 16, 2016

Running python SWProxy returns

File "SWProxy", line 1
SyntaxError: Non-ASCII character '\xcf' in file SWProxy on line 1, but no encoding declared; 
see http://python.org/dev/peps/pep-0263/ for details

Thoughts?

@sougie91 sougie91 changed the title Syntax error when running SWProxy Syntax error when running SWProxy on iOS May 16, 2016
@sougie91 sougie91 changed the title Syntax error when running SWProxy on iOS Syntax error when running SWProxy on Mac May 16, 2016
@msteudel
Copy link

@msteudel
Copy link

Also @sougie91 it might be helpful for them to have your operating system type and version.

@aureus1
Copy link

aureus1 commented May 19, 2016

@sougie91 Are you trying to run the osx binary (the 15MB file) with python? if you're using python directly, you want to grab the source (via git or zip download) and run:
python SWProxy.py

The SWProxy file is an executable - just double click it to run.

@kakaroto
Copy link
Owner

Considering it says File "SWProxy", line 1, not SWProxy.py, I'm going to guess he tried to run the executable itself. Feel free to re-open the issue if that's not the case.

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

4 participants