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 spider #1

Open
Hvts3rk opened this issue Mar 18, 2021 · 0 comments
Open

ImportError: cannot import name spider #1

Hvts3rk opened this issue Mar 18, 2021 · 0 comments

Comments

@Hvts3rk
Copy link

Hvts3rk commented Mar 18, 2021

Ehj!

Executing $ python2 link_extractor.py -h the script returned me the "ImportError: cannot import name spider" error since the "Spider" library is not correctly imported.

I fixed this issue moving the "spider.py" file inside the same "link_extractor.py" folder and then changing row 6 in:
from spider import Spider (uppercase the second 'spider' S letter).

I hope this helped you :)

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

1 participant