[pypy-dev] No Module _bsddb

wpf wpf710 at gmail.com
Tue Jun 10 04:14:55 CEST 2014


Hi Benjamin

    I understand that.

    anyway, when I checking the code as below

norman at norman-ThinkCentre-M92P:/usr/lib/pypy/lib-python/2.7/bsddb$ which
pypy
/usr/bin/pypy
norman at norman-ThinkCentre-M92P:/usr/lib/pypy/lib-python/2.7/bsddb$ ls -lt
/usr/bin/pypy
lrwxrwxrwx 1 root root 22 May 20 19:57 /usr/bin/pypy ->
../lib/pypy/bin/pypy-c
norman at norman-ThinkCentre-M92P:/usr/lib/pypy/lib-python/2.7/bsddb$ pwd
/usr/lib/pypy/lib-python/2.7/bsddb
norman at norman-ThinkCentre-M92P:/usr/lib/pypy/lib-python/2.7/bsddb$ ls -lt
__init__.py
-rw-r--r-- 1 root root 15988 May 20 10:48 __init__.py

from the code of __init__.py , it's still trying to load _bsddb module,
 you know ,I am a newbie to python, did I misunderstand something?

and also I will try to understand why my code(actually ,it's openstack tox
env) will trigger that.





On Mon, Jun 9, 2014 at 1:29 PM, Benjamin Peterson <benjamin at python.org>
wrote:

> On Sun, Jun 8, 2014, at 22:18, wpf wrote:
> > Hi All
> >
> >   I am trying to use the Pypy under Ubuntu 12.04, and pypy version as
> >   below
> >
> > ~$ pypy --version
> > Python 2.7.6 (2.3+dfsg-1~ppa0, May 20 2014, 09:11:18)
> > [PyPy 2.3.0 with GCC 4.6.3]
> >
> > -$ python --version
> > Python 2.7.3
> >
> > and when I  try to import _bsddb in pypy, it complains that 'No module
> > named _bsddb'
> >
> > but it works for python.
> >
> > so how to resolve it? I 'd tried to google it ,but nothing useful found.
>
> PyPy doesn't support the bsddb module.
>



-- 
祝好!

   王鹏飞
    msn: dragoninfield at hotmail.com
    mobile: 13681265240
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140610/95722e64/attachment.html>


More information about the pypy-dev mailing list