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

Python 3 is not supported #11

Closed
isa opened this issue Mar 1, 2012 · 2 comments
Closed

Python 3 is not supported #11

isa opened this issue Mar 1, 2012 · 2 comments
Labels
bug Something isn't working

Comments

@isa
Copy link

isa commented Mar 1, 2012

I guess Python 3 is not supported. I'm getting following error on Python 3.2:

Traceback (most recent call last):
  File "C:\Python32\Scripts\http-script.py", line 9, in <module>
    load_entry_point('httpie==0.1.4', 'console_scripts', 'http')()
  File "c:\Python32\lib\site-packages\distribute-0.6.24-py3.2.egg\pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "c:\Python32\lib\site-packages\distribute-0.6.24-py3.2.egg\pkg_resources.py", line 2280, in load_entry_point
    return ep.load()
  File "c:\Python32\lib\site-packages\distribute-0.6.24-py3.2.egg\pkg_resources.py", line 1990, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "c:\Python32\lib\site-packages\httpie\httpie.py", line 160
    u'HTTP/{version} {status} {reason}'.format(
                                      ^
SyntaxError: invalid syntax
@marblar
Copy link

marblar commented Mar 1, 2012

The syntax error there comes from the fact that python 3 doesn't support the u'string' syntax for unicode literals. This will be fixed in python 3.3.

@isa
Copy link
Author

isa commented Mar 1, 2012

Alright then ;)

@isa isa closed this as completed Mar 1, 2012
@jkbrzt jkbrzt reopened this Mar 2, 2012
@jkbrzt jkbrzt closed this as completed in 51aa040 Mar 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants