I orientated myself on this article to deploy a project. And it took a lot time for me to find a typo in scrapinghub.yml.
Wrong:
requirements:
file: requirements.txt
Correct:
requirements_file: requirements.txt
Best Answer
v
viktor
said
almost 5 years ago
I see, it explains why you weren't able to use the newer syntax. However, I don't have any obstacles with shub on Conda (installing pip, then installing any shub version via pip), is it something related with other dependencies you're using? Let us know if there's anything we could help with.
shub version: 2.1.1 . unfortunately, i can't upgrade to 2.8.1 with conda.
v
viktor
said
almost 5 years ago
Answer
I see, it explains why you weren't able to use the newer syntax. However, I don't have any obstacles with shub on Conda (installing pip, then installing any shub version via pip), is it something related with other dependencies you're using? Let us know if there's anything we could help with.
i
igi_skalar
said
almost 5 years ago
Thanx, after installing via pip I can deploy with newer syntax.
igi_skalar
I orientated myself on this article to deploy a project. And it took a lot time for me to find a typo in scrapinghub.yml.
Wrong:
Correct:
I see, it explains why you weren't able to use the newer syntax. However, I don't have any obstacles with shub on Conda (installing pip, then installing any shub version via pip), is it something related with other dependencies you're using? Let us know if there's anything we could help with.
- Oldest First
- Popular
- Newest First
Sorted by Oldest Firstviktor
Both versions should work fine, with a small difference that the one with `requirements_file` is deprecated.
So it doesn't seem to be a typo.
Could you please share your scrapinghub.yml config and shub tool version (output of `shub version`)?
igi_skalar
scrapinghub.yml
shub version: 2.1.1 . unfortunately, i can't upgrade to 2.8.1 with conda.
viktor
I see, it explains why you weren't able to use the newer syntax. However, I don't have any obstacles with shub on Conda (installing pip, then installing any shub version via pip), is it something related with other dependencies you're using? Let us know if there's anything we could help with.
igi_skalar
Thanx, after installing via pip I can deploy with newer syntax.
-
Unable to select Scrapy project in GitHub
-
ScrapyCloud can't call spider?
-
Unhandled error in Deferred
-
Item API - Filtering
-
newbie to web scraping but need data from zillow
-
ValueError: Invalid control character
-
Cancelling account
-
Best Practices
-
Beautifulsoup with ScrapingHub
-
Delete a project in ScrapingHub
See all 446 topics