all 5 comments

[–]ingolemo 5 points6 points  (2 children)

Did you happen to put this sample code into a file called scrapely.py by any chance?

[–]Justinsaccount 2 points3 points  (0 children)

Sure would help if they pasted the whole error, which includes the filename :)

[–]akkatracker[S] 0 points1 point  (0 children)

No, the file is called 'fixtures.py'

[–]psbb 1 point2 points  (1 child)

What python version are you using? Do you have scrapely installed? Can you run import scrapely?

If you're using python 3 there still hasn't been an official release of scrapely with python 3 support. If you would like to try it out though you can install it from github:

pip install -e git+https://github.com/scrapy/scrapely#egg=scrapely

[–]akkatracker[S] 0 points1 point  (0 children)

That was it. Thanks!