- edited description
Installing webdl requirements under Bash on Ubuntu on Windows
Previously was able to run webdl on Bash for Windows 10. Grabbed the python3 version and had the following errors
#include "Python.h"
^
compilation terminated.
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /root/webdl/.virtualenv/bin/python3 -c "import setuptools, tokenize;__file__='/root/webdl/.virtualenv/build/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-js2ejipz-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/webdl/.virtualenv/include/site/python3.4 failed with error code 1 in /root/webdl/.virtualenv/build/pycrypto
Storing debug log for failure in /root/.pip/pip.log
(.virtualenv)root@HARRIET:~/webdl# . .virtualenv/bin/activate
(.virtualenv)root@HARRIET:~/webdl# ./grabber.py
Traceback (most recent call last):
File "./grabber.py", line 3, in <module>
from common import load_root_node, natural_sort
File "/root/webdl/common.py", line 5, in <module>
import lxml.etree
ImportError: No module named 'lxml'
(.virtualenv)root@HARRIET:~/webdl#
Comments (7)
-
repo owner -
repo owner - changed status to on hold
-
reporter Ok. Installing using apt-get results in python3-requests-cache and livestreamer not being found.
-
repo owner I guess you're running an old version. Some googling suggests that in the past Windows used Ubuntu 14.04.
So your options are to either: 1. Update to Ubuntu 16.04 and install the dependencies with apt-get 2. Install the Python dev package and use the virtualenv/pip method
-
reporter Manually installed livestreamer and python3-requests-cache and added ffmpeg ppa and it now works.
On Thu, Apr 6, 2017 at 8:08 PM, Don Griffiths don.griffiths@gmail.com wrote:
Ok. Installing using apt-get results in python3-requests-cache and livestreamer not being found.
-
reporter Also tried the virtualenv/pip method after installing Python dev package. Had to install zlib1g-dev manually. After this, pip install worked and could run in virtualenv
On Thu, Apr 6, 2017 at 8:50 PM, Don Griffiths don.griffiths@gmail.com wrote:
Manually installed livestreamer and python3-requests-cache and added ffmpeg ppa and it now works.
On Thu, Apr 6, 2017 at 8:08 PM, Don Griffiths don.griffiths@gmail.com wrote:
Ok. Installing using apt-get results in python3-requests-cache and livestreamer not being found.
-
repo owner - changed status to resolved
Glad you got it to work :)
- Log in to comment
To install using the virtualenv method you'll need the Python dev package.
Alternatively since you had it working fine before you may find it easier to just
apt-get install
the necessary dependencies. I guess this works on the Windows/Ubuntu but I've never tried it myself.Please refer to the README for specific instructions, and let me know if it works :)