ali haider ali haider - 1 month ago 12
Python Question

unable to install scrapy-deltafetch

I am trying to install scrapy-deltafetch on ubuntu 14 using pip (v8.1.2 on python 2.7). When I run (sudo) pip install scrapy-deltafetch, I get the following error:

Update:

Complete output from command python setup.py egg_info:
Can't find a local Berkeley DB installation.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-TVr3UZ/bsddb3/


Any thoughts on how to resolve this?

I have already ran the following:

sudo python ez_setup.py

pip install --upgrade setuptools


as well as

sudo apt-get install python-setuptools


I do have both python3 and python 2.7 on the computer.

I have tried installing bsdb3 but that does not work either. I will look into setting up berkeley db correctly and update here accordingly

Update:
Installing berkeley DB did not solve the issue.

Answer

scrapy-deltafetch requires bsddb3.

bsddb3 itself, on Ubuntu Trusty, depends on libdb5.3.

You can either install python-bsddb3 with apt-get, or only apt-get install libdb5.3. pip install scrapy-deltafetch should work after that.

Comments