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

ImportError: cannot import name Client #68

Open
AwdotiaRomanowna opened this issue May 13, 2017 · 2 comments
Open

ImportError: cannot import name Client #68

AwdotiaRomanowna opened this issue May 13, 2017 · 2 comments

Comments

@AwdotiaRomanowna
Copy link

Hi,
I cannot run the script because of import error:
python script/spider.py -c config/prod.cfg -t pdf --notify None
Traceback (most recent call last):
File "script/spider.py", line 12, in
from notify import Notify, SERVICE_GMAIL, SERVICE_IFTTT, SERVICE_JOIN, SERVICE_PUSHOVER
File "/home/boria/repos/test/packtpub-crawler/script/notify.py", line 5, in
from notification.mypushover import Pushover
File "/home/boria/repos/test/packtpub-crawler/script/notification/mypushover.py", line 3, in
from notification.mypushover import Client
ImportError: cannot import name Client

@niqdev
Copy link
Owner

niqdev commented May 15, 2017

Hi, can you please confirm you are using python 2.x and you run pip install -r requirements.txt? thanks

@hactrox
Copy link

hactrox commented May 31, 2017

It seems you installed the wrong package pushover . You can run pip uninstall pushover, and then run pip install -r requirements.txt.

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