No recent searches
Popular Articles
Sorry! nothing found for
Posted over 4 years ago by Matthias Kurwig
Hi, I am getting
ModuleNotFoundError: No module named 'enervee_scraper'
when running
shub image deploy
for project ID 444444.
Dockerfile:
FROM python:3.7 WORKDIR /app COPY requirements.txt . RUN pip install -r requirements.txt ENV SCRAPY_SETTINGS_MODULE enervee_scraper.settings.local ENV PYTHONPATH "${PYTHONPATH}:/app"
Project structure:
enervee_scraper/ settings/ spiders/ tests/ Dockerfile .dockerignore scrapinghub.yml scrapy.cfg
scrapy.cfg:
[settings] default = enervee_scraper.settings.prod local = enervee_scraper.settings.local [deploy] #url = http://localhost:6800/ project = enervee_scraper
My crawler works fine using the Docker image locally.
0 Votes
1 Comments
Matthias Kurwig posted over 4 years ago
Nevermind, I found the issue. Please close this topic.
People who like this
This post will be deleted permanently. Are you sure?
Hi, I am getting
when running
for project ID 444444.
Dockerfile:
Project structure:
scrapy.cfg:
My crawler works fine using the Docker image locally.
0 Votes
1 Comments
Matthias Kurwig posted over 4 years ago
Nevermind, I found the issue. Please close this topic.
0 Votes