Skip to content

Unable to install on Python 3.3 #147

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

Closed
jensenbox opened this issue Nov 9, 2013 · 5 comments
Closed

Unable to install on Python 3.3 #147

jensenbox opened this issue Nov 9, 2013 · 5 comments

Comments

@jensenbox
Copy link

Downloading/unpacking oauth2 (from -r /home/christian/documents/projects/rh/requirements.txt (line 49))
  Downloading oauth2-1.5.211.tar.gz
  Running setup.py egg_info for package oauth2
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip_build_christian/oauth2/setup.py", line 18
        print "unable to find version in %s" % (VERSIONFILE,)
                                           ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip_build_christian/oauth2/setup.py", line 18

    print "unable to find version in %s" % (VERSIONFILE,)

                                       ^

SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_christian/oauth2
Storing complete log in /home/christian/.pip/pip.log
@lepture
Copy link

lepture commented Dec 5, 2013

Everyone, OAuthLib is the future of OAuth in Python.

@foxmask
Copy link

foxmask commented Mar 18, 2014

to fix it , Line 18 of the setup.py ; you just need to replace it by

 print ("unable to find version in %s") % (VERSIONFILE,)

and add

from __future__ import print_function

if you want to keep the 2.x compatibility.

@jaitaiwan
Copy link
Contributor

I've made a pull request on #158 to hopefully begin to resolve this issue.

@jaitaiwan
Copy link
Contributor

@jensenbox do you mind closing this issue? This repo is dead.

@joestump
Copy link
Owner

See #158. @jaitaiwan is working on PT3K support. Also, praise be to Gaia for this repo has risen! 😇

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

5 participants