[pypy-issue] [issue1200] Pypy 1.9 and mongodb-driver "pymongo" raise " Fatal error: PyThreadState_Get: no current thread"

Amaury Forgeot d Arc tracker at bugs.pypy.org
Mon Jul 2 15:37:11 CEST 2012


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

I understand now: eggs will use imp.load_dynamic('_cmessage', '_cmessage.pyd')
which bypasses PyPy protection against CPython modules.

I'm afraid you cannot use easy_install-script.py with PyPy; you have to install pymongo from source; one 
way is to download pymongo-2.2.tar.gz, unpack it somewhere and run "d:\pypy-1.9\pypy setup.py install"
You'll need a compiler for this, of course.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1200>
________________________________________


More information about the pypy-issue mailing list