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

Failed to import, invalid syntax #114

Open
charleskawczynski opened this issue Jun 26, 2018 · 5 comments
Open

Failed to import, invalid syntax #114

charleskawczynski opened this issue Jun 26, 2018 · 5 comments

Comments

@charleskawczynski
Copy link

Traceback (most recent call last):
File "C:\Users\kawcz\Dropbox\PROGRAMMING\MAIN\job_search_scrape_linkedin\test.py", line 1, in
from linkedin import linkedin
File "C:\Users\kawcz\AppData\Local\Programs\Python\Python36\lib\site-packages\linkedin\linkedin.py", line 294
except (requests.ConnectionError, requests.HTTPError), error:
^
SyntaxError: invalid syntax

@shirishc
Copy link

Facing the same above issue !!!

@ramosjoel
Copy link

Whoops, looks like I reported this on Issue #115 but this is the same thing. Looks like we're trying to use Python 3 with something that was written for Python 2

@admhpr
Copy link

admhpr commented Jul 17, 2018

mentioned this on #115 aswell:
pip install --upgrade https://github.com/ozgur/python-linkedin/tarball/master
seems to solve the issue.

@hsonetta
Copy link

@harps116 this didn't solve the issue

@luisberns
Copy link

mentioned this on #115 aswell:
pip install --upgrade https://github.com/ozgur/python-linkedin/tarball/master
seems to solve the issue.

This helped for me and I could import the linkedin package.

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

6 participants