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 During Installation (Python3) #50

Closed
tristandahn opened this issue Jan 26, 2015 · 2 comments
Closed

Syntax Error During Installation (Python3) #50

tristandahn opened this issue Jan 26, 2015 · 2 comments

Comments

@tristandahn
Copy link

I'm wondering if you can help me. I'm encountering a syntax error while attempting to install. I'm running Python 3.4 on Mac OSX 10.7.5.

Any help would be appreciated. Thanks!

Here is the log from the terminal:

vpn166047:~ tristandahn$ pip install twarc
Downloading/unpacking twarc
Downloading twarc-0.1.2.tar.gz
Running setup.py (path:/private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/twarc/setup.py) egg_info for package twarc

Downloading/unpacking oauth2 (from twarc)
Downloading oauth2-1.5.211.tar.gz
Running setup.py (path:/private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/oauth2/setup.py) egg_info for package oauth2
Traceback (most recent call last):
File "", line 17, in
File "/private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/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 "", line 17, in

File "/private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/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 /private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/oauth2
Storing debug log for failure in /Users/tristandahn/.pip/pip.log

@phette23
Copy link
Contributor

I have the same problem on my Mac when I run pip3 install twarc. It looks like a problem in the OAuth2 dependency, see joestump/python-oauth2#147 where someone reports not being able to install on 3.3. It's a simple print statement fix but for now it kills python 3 installs.

@edsu
Copy link
Member

edsu commented Jan 27, 2015

Perhaps we should be using https://pypi.python.org/pypi/oauthlib ?

@edsu edsu changed the title Syntax Error During Installation Syntax Error During Installation (Python3) Jan 28, 2015
@edsu edsu closed this as completed in 943485b Feb 16, 2015
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

3 participants