rugantio / fbcrawl

A Facebook crawler
Apache License 2.0
661 stars 229 forks source link

No module named "items" #7

Closed n41al closed 5 years ago

n41al commented 5 years ago

Hello,

Im getting a problem while running the command. It sames that there is no module to import named items. I don´t know if its about a library a dont have installed or its an other setting i didn´t configure.

pls find the screenshot related to the error.

imagen

Thanks for your help.

ortenburger commented 5 years ago

No, it's not a Lib -- items.py is in the folder. My guess is that you didn't set up/run fbcrawl properly.

n41al commented 5 years ago

I have run with this sentence "scrapy crawl fb -a email="" -a password="" -a page="____" -o DUMPFILE.csv" Is something wrong in it?

Thanks for yout help

n41al commented 5 years ago

Please, Can anybody help me?

rugantio commented 5 years ago

Probably your issue is related to the fact that you're using python 2.7, try with python3 and let me know how it goes

n41al commented 5 years ago

It works with python3, but I have had another code error. File "/usr/local/lib/python3.6/dist-packages/OpenSSL/SSL.py", line 309, in wrapper _lib.X509_up_ref(x509) AttributeError: module 'lib' has no attribute 'X509_up_ref'

I try to solved it, but I can't.

thanks

rugantio commented 5 years ago

you need to pull pyOpenSSL from pip

n41al commented 5 years ago

Now works!

Thanks!