scrapy-deltafetch 的安装

scrapy-deltafetch 的安装

Mac 通过 homebrew 安装

1
2
brew install db
YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1 BERKELEYDB_DIR=/usr/local/Cellar/berkeley-db/6.2.32/ pip install bsddb3

Linux 系列编译运行

1
2
3
4
5
6
7
8
wget http://download.oracle.com/berkeley-db/db-6.2.32.tar.gz
tar xvf db-6.2.32.tar.gz
cd db-6.2.32.tar.gz
cd build_unix/
../dist/configure -prefix=/home/XXX/app/BerkeleyDB
make
make install
YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1 BERKELEYDB_DIR=/home/XXX/app/BerkelyDB/ pip install bsddb3
Buy me a coffe. XD