No recent searches
Popular Articles
Sorry! nothing found for
Posted almost 6 years ago by ragno1970
I am trying to deploy a spider to Scrapy cloud, but I am continuously experiencing requirements problems.
I am using Python 3.7.
My `scrapinghub.yml` file contains these lines:
My `requirements.txt` file contains these lines:
0 Votes
nestor posted almost 6 years ago Admin Best Answer
astroid 2.1.0 is only available on Python 3. Your scrapinghub.yml is not specifying any (py3) stack so it picks the default one which is scrapy-1.3 on Python 2.7. You need to specify a Python 3 stack by adding the suffix -py3 to the stack. See: https://support.scrapinghub.com/support/solutions/articles/22000200402-scrapy-cloud-stacks
1 Comments
nestor posted almost 6 years ago Admin Answer
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
I am trying to deploy a spider to Scrapy cloud, but I am continuously experiencing requirements problems.
I am using Python 3.7.
My `scrapinghub.yml` file contains these lines:
My `requirements.txt` file contains these lines:
0 Votes
nestor posted almost 6 years ago Admin Best Answer
astroid 2.1.0 is only available on Python 3. Your scrapinghub.yml is not specifying any (py3) stack so it picks the default one which is scrapy-1.3 on Python 2.7. You need to specify a Python 3 stack by adding the suffix -py3 to the stack. See: https://support.scrapinghub.com/support/solutions/articles/22000200402-scrapy-cloud-stacks
0 Votes
1 Comments
nestor posted almost 6 years ago Admin Answer
astroid 2.1.0 is only available on Python 3. Your scrapinghub.yml is not specifying any (py3) stack so it picks the default one which is scrapy-1.3 on Python 2.7. You need to specify a Python 3 stack by adding the suffix -py3 to the stack. See: https://support.scrapinghub.com/support/solutions/articles/22000200402-scrapy-cloud-stacks
0 Votes
Login to post a comment