Injecting configuration and compiling...
[1G [1G-----> Python app detected
[1G-----> Installing python-2.7.6
[1G $ pip install -r requirements.txt
[1G Collecting beautifulsoup4==4.4.1 (from -r /tmp/build/requirements.txt (line 1))
[1G /app/.heroku/python/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
[1G /app/.heroku/python/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
[1G Downloading beautifulsoup4-4.4.1-py2-none-any.whl (81kB)
[1G Collecting cssselect==0.9.1 (from -r /tmp/build/requirements.txt (line 2))
[1G Downloading cssselect-0.9.1.tar.gz
[1G Collecting lxml==3.4.4 (from -r /tmp/build/requirements.txt (line 3))
[1G Downloading lxml-3.4.4.tar.gz (3.5MB)
[1G Collecting requests==2.7.0 (from -r /tmp/build/requirements.txt (line 4))
[1G Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)
[1G Collecting wheel==0.24.0 (from -r /tmp/build/requirements.txt (line 5))
[1G Downloading wheel-0.24.0-py2.py3-none-any.whl (63kB)
[1G Installing collected packages: beautifulsoup4, cssselect, lxml, requests, wheel
[1G Running setup.py install for cssselect: started
[1G Running setup.py install for cssselect: finished with status 'done'
[1G Running setup.py install for lxml: started
[1G Running setup.py install for lxml: still running...
[1G Running setup.py install for lxml: finished with status 'done'
[1G Successfully installed beautifulsoup4-4.4.1 cssselect-0.9.1 lxml-3.4.4 requests-2.7.0 wheel-0.24.0
[1G ! Hello! It looks like your application is using an outdated version of Python.
[1G ! This caused the security warning you saw above during the 'pip install' step.
[1G ! We recommend 'python-2.7.13', which you can specify in a 'runtime.txt' file.
[1G ! -- Much Love, Heroku.
[1G [1G-----> Discovering process types
[1G Procfile declares types -> scraper
Injecting scraper and running...
Traceback (most recent call last):
File "scraper.py", line 2, in <module>
ImportError: No module named socks