【发布时间】:2013-06-07 09:49:31
【问题描述】:
我正在尝试将 Django 模型与 scrapy 一起使用,但出现此错误:
sudo scrapy deploy default -p eScraper
Building egg of eScraper-1370598403
'build/scripts-2.7' does not exist -- can't clean it
zip_safe flag not set; analyzing archive contents...
Deploying eScraper-1370598403 to http://localhost:6800/addversion.json
Server response (200):
{"status": "error", "message": "ImportError: No module named eScraperInterfaceApp.models"}
我用过这个post
它能够找到 django 项目 settings.py 文件,但是当我尝试在 items.py 文件中导入 django 应用程序模型时出现错误...
【问题讨论】: