Hi Benjamin
I understand that.
anyway, when I checking the code as below
norman@norman-ThinkCentre-M92P:/usr/lib/pypy/lib-python/2.7/bsddb$ which
pypy
/usr/bin/pypy
norman@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@norman-ThinkCentre-M92P:/usr/lib/pypy/lib-python/2.7/bsddb$ pwd
/usr/lib/pypy/lib-python/2.7/bsddb
norman@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 <[email protected]>
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: [email protected]
mobile: 13681265240
_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev