I am trying to make an iron.
I have created a folder named module
, which will have all third party modules and will be installed through PP.
Tracebacks (Lastest Call Last): File "module / scrape / __init__.py", line 10, & lt; Module & gt; Is happening in
__version__ = pkgutil.get_data (__ package__, 'version'). Decode ('ascii'). Strip () file "/usr/lib/python2.7/pkgutil.py", line 578, get_data loader = get_loader (file) "/usr/lib/python2.7/pkgutil.py", line 464, get_loader Return find_loader (fullname) "/usr/lib/python2.7/pkgutil.py" in the file, line 474, finder_importers (fullname) in the find_loader for the importer: file "/usr/lib/python2.7/pkgutil.py" , Line 424, iter_importers if fullname.startswith ('.'): Attribute: 'startwith' has no attribute in the 'any type' object
You probably want to use scraps from your IronWorker code, such as the command line She is on the front page of the tutorial or:
After using it in Ironworker, after installing PIP, make sure:
pip 'scrapy'
In your workwork file again in your worker script, you will import it:
import scrapy
Then use it as it is written in the tutorial link above.
No comments:
Post a Comment