Closed js333031 closed 5 years ago
Steps I used to get past the error:
pushd /tmp
wget http://download.oracle.com/berkeley-db/db-4.8.30.zip unzip db-4.8.30.zip cd db-4.8.30/ cd build_unix/ ../dist/configure --prefix=/usr/local --enable-cxx make -j12 make install sudo make install
wget https://files.pythonhosted.org/packages/e9/fc/ebfbd4de236b493f9ece156f816c21df0ae87ccc22604c5f9b664efef1b9/bsddb3-6.2.6.tar.gz tar -xvzf bsddb3-6.2.6.tar.gz cd bsddb3-6.2.6/ python setup.py install --berkeley-db=/usr/local/
popd
Hmm, I'll have a look. I did just upgraded the requirements.txt.
Hello, I have the same problem on a MacBook Pro (MacOS 10.14.5). During the 'pip install -r requirements.txt' step, the same error as above is encountered:
ERROR: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/ly/m_vsg71j39b2j0d09nb98tr40000gn/T/pip-install-e2j0blqk/bsddb3/ `
On the Oracle Download Site, the actual version of the Berkley DB package is 18.1.32.
What should I do?
Greetings from Michael
Do you have BerkeleyDB installed? If so, did the suggestion to pass to path not work? Maybe I should remove this from requirements.txt and only install it for the specific notebook.
Feel free to reopen if this didn't work!
I now have installed BerkeleyDB via 'Brew', but the same error appears. How can I apply the given hint "try the --berkeley-db=/path/to/bsddb"? Can I incorporate the parameter in the requirements file?
BTW: How can I reopen a closed issue?
@reklame https://github.com/DOsinga/deep_learning_cookbook/issues/62 may have your answer.
s333031:
Your method - building from the source is quite good. It adapts to my Conda Environment. For the native or original Ubuntu 18.04 system, it is easy to install bsddb3. But for the Conda env, it is quite hard to install with other installation methods. Your method really solve the problem.
Thanks for your guidelines.
Mike
My host is Ubuntu 18.04 LTS. Freshly installed system. During the 'pip install -r requirements.txt' step, following error is encountered: