This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Import bsddb result in error on OS X (Python 2.7.10)
Type: Stage: resolved
Components: Library (Lib), macOS Versions: Python 2.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Luke Jang, ned.deily, ronaldoussoren, tdsmith
Priority: normal Keywords:

Created on 2015-07-13 04:20 by Luke Jang, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg246682 - (view) Author: Luke Jang (Luke Jang) Date: 2015-07-13 04:20
As title. I installed Python using brew.

$ python 
Python 2.7.10 (default, Jul  9 2015, 13:34:07) 
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import bsddb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/Cellar/python/2.7.10_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bsddb/__init__.py", line 67, in <module>
    import _bsddb
ImportError: No module named _bsddb
>>>
msg246685 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2015-07-13 06:56
You are using a third-party build of Python from the homebrew package manager. You probably need to install additional brew packages to provide bsddb support so you should ask somewhere else for help with that, perhaps stackoverflow.com.
msg246686 - (view) Author: Tim Smith (tdsmith) * Date: 2015-07-13 06:58
Hi; I'm a Homebrew maintainer. Please open an issue at https://github.com/Homebrew/homebrew.
History
Date User Action Args
2022-04-11 14:58:18adminsetgithub: 68815
2015-07-13 06:58:06tdsmithsetnosy: + tdsmith
messages: + msg246686
2015-07-13 06:56:13ned.deilysetstatus: open -> closed
resolution: third party
messages: + msg246685

stage: resolved
2015-07-13 06:41:50serhiy.storchakasetnosy: + ronaldoussoren, ned.deily
components: + macOS
2015-07-13 04:20:57Luke Jangcreate