Hello all,
I've downloaded and unzipped pypy-2.0-beta2-win32.zip but
fairly early on in my testing ran into this puzzle:
C:\>c:\pypy-2.0\pypy.exe
Python 2.7.3 (3eef596df459, Apr 06 2013, 12:40:10)
[PyPy 2.0.0-beta2 with MSC v.1500 32 bit] on win32
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``the zen attitude to programming:
reducing the oopses in your life''
>>>> import sqlite3
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "c:\pypy-2.0\lib-python\2.7\sqlite3\__init__.py", line 24, in <module>
from dbapi2 import *
File "c:\pypy-2.0\lib-python\2.7\sqlite3\dbapi2.py", line 27, in <module>
from _sqlite3 import *
File "c:\pypy-2.0\lib_pypy\_sqlite3.py", line 262, in <module>
if _has_load_extension():
File "c:\pypy-2.0\lib_pypy\_sqlite3.py", line 259, in _has_load_extension
unverified_lib = unverified_ffi.dlopen('sqlite3')
File "c:\pypy-2.0\lib_pypy\cffi\api.py", line 111, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "c:\pypy-2.0\lib_pypy\cffi\api.py", line 364, in _make_ffi_library
raise OSError("library not found: %r" % (name,))
OSError: library not found: 'sqlite3'
>>>> quit()
While I would of course hope sqlite3 would work, the fact that
I get an OSError not an ImportError is preventing my code
catching this exception and handling as I would on other
platforms (like Jython) lacking this module.
I'm running this on Windows XP SP3 (32bit).
What more information can I share about this?
Thanks,
Peter
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev