I would like to run scrapy with splash on PythonAnywhere. I have succesfully installed scrapy itself.
Is it possible to install docker on PythonAnywhere? This is the way I have installed splash on my own machine and it is the recommended way to install and run splash. I haven't been able to find any info about running docker on PythonAnywhere and therefore I haven't succeeded in installing splash via docker.
Instead, I tried installing splash manually but it doesn't work. The installation went fine (pip install splash
) but I cannot start splash. See error message below.
(scrapy36) 18:58 ~/gds/gds $ python3 -m splash.server
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/robinhat/.virtualenvs/scrapy36/lib/python3.6/site-packages/splash/server.py", line 11, in <module>
from splash.qtutils import init_qt_app
File "/home/robinhat/.virtualenvs/scrapy36/lib/python3.6/site-packages/splash/qtutils.py", line 15, in <module>
from PyQt5.QtWebKit import QWebSettings
ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
(scrapy36) 18:58 ~/gds/gds $