A
A
Andrey Andryushchenko2018-04-22 18:20:48
Python
Andrey Andryushchenko, 2018-04-22 18:20:48

How to install dryscrape python module on CentOS?

I tried to install the dryscrape python module on a CentOS machine with the command pip install dryscrape, but it gave me an error

Collecting dryscrape
Using cached https://files.pythonhosted.org/packages/b5/75/c45f...
Collecting webkit-server>=1.0 (from dryscrape)
Using cached https://files.pythonhosted.org/packages/29 /f2/f4f4...
Requirement already satisfied (use --upgrade to upgrade): lxml in /root/.pyenv/versions/3.5.2/envs/das/lib/python3.5/site-packages (from dryscrape)
Collecting xvfbwrapper (from dryscrape)
Using cached https://files.pythonhosted.org/packages/57/b6/4920...
Installing collected packages: webkit-server, xvfbwrapper, dryscrape
Running setup.py install for webkit-server .. .error
Complete output from command /root/.pyenv/versions/3.5.2/envs/das/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-f6k99ek2/webkit-server/setup .py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-dvjyfmm4-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.pyenv/versions/3.5.2/envs/das/ include/site/python3.5/webkit-server:
running install
running build
cd src/ && ( test -e Makefile.webkit_server || /usr/bin/qmake /tmp/pip-build-f6k99ek2/webkit-server/src/ webkit_server.pro -o Makefile.webkit_server ) && make -f Makefile.webkit_server
Project ERROR:Unknown module(s) in QT: webkitwidgets
make: *** [sub-src-webkit_server-pro-make_first-ordered] Error 3
error: [Errno 2] No such file or directory: 'src/webkit_server'
------------- ---------------------------
Command "/root/.pyenv/versions/3.5.2/envs/das/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-f6k99ek2/webkit-server/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read() .replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-dvjyfmm4-record/install-record.txt --single-version-externally- managed --compile --install-headers /root/.pyenv/versions/3.5.2/envs/das/include/site/python3.5/webkit-server" failed with error code 1 in /tmp/pip-build- f6k99ek2/webkit-server/

Installed on the machine: CentOS 7, Python 3.5.2

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question