ali haider ali haider - 11 days ago 4
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:


Complete output from command python egg_info:
Can't find a local Berkeley DB installation.
Command "python 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

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

Installing berkeley DB did not solve the issue.


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.