I write in the console:
pip3 install bsddb3
But I get the error:
Collecting bsddb3
Using cached https://files.pythonhosted.org/packages/e9/fc/ebfbd4de236b493f9ece156f816c21df0ae87ccc22604c5f9b664efef1b9/bsddb3-6.2.6.tar.gz
Complete output from command python setup.py egg_info:
Can't find a local Berkeley DB installation.
(suggestion: try the --berkeley-db=/path/to/bsddb option)
Wrote after:python -m pip install bsddb --berkeley-db=/path/to/bsddb
Usage:
/usr/bin/python -m pip install [options] <requirement specifier> [package-index-options] ...
/usr/bin/python -m pip install [options] -r <requirements file> [package-index-options] ...
/usr/bin/python -m pip install [options] [-e] <vcs project url> ...
/usr/bin/python -m pip install [options] [-e] <local project path> ...
/usr/bin/python -m pip install [options] <archive url/path> ...
no such option: --berkeley-db
On Ubuntu systems (as OP is using Ubuntu), you need to install the libdb++-dev
package and then bsddb3
python package installs fine:
sudo apt-get install libdb++-dev
export BERKELEYDB_DIR=/usr
pip3 install bsddb3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With