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

Type Error: #4

Closed
Agahlot opened this issue Aug 5, 2016 · 3 comments
Closed

Type Error: #4

Agahlot opened this issue Aug 5, 2016 · 3 comments

Comments

@Agahlot
Copy link

Agahlot commented Aug 5, 2016

Line 144 in cliparser:
parser.formatter.format_option_strings = type(parser.formatter.format_option_strings)(_,parser, type(parser))
TypeError: method expected 2 arguments, got 3

@epinna
Copy link
Owner

epinna commented Aug 6, 2016

Hello,

I can't reproduce this. What do python --version and python -c 'import optparse; print optparse.__version__' print out?

@Agahlot
Copy link
Author

Agahlot commented Aug 6, 2016

python --version: Python 3.5.2
python -c 'import optparse; print optparse.version' :- File "<string>", line 1 import optparse; print optparse.__version__ ^ SyntaxError: invalid syntax

@epinna
Copy link
Owner

epinna commented Aug 6, 2016

You should use Python 2.7.x, Python 3.x is not supported. Cheers.

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

2 participants