5

I can't seem to find anything on Google or SO with information on getting cx_Oracle to work with PyPy. Can somebody please tell me if it's possible, and if so, how can I accomplish this?

PhilBot
  • 748
  • 18
  • 85
  • 173

2 Answers2

4

PyPy actually has it's own cx_Oracle module, you need to compile it yourself though, which looks like:

./pypy/translator/goal/translate.py pypy/translator/goal/targetpypystandalone.py --withmod-oracle
Alex Gaynor
  • 14,353
  • 9
  • 63
  • 113
  • 1
    Is there documentation of this somewhere? – Glyph Mar 29 '12 at 23:34
  • 1
    This is not a good solution as this option is no longer supported (probably that's the reason you can't find it in documentation). It works, but it installs cx_Oracle 5.0.0 which is very old and probably incompatible with the rest of stuff you are trying to use. – mnowotka Jul 06 '13 at 16:38
2

After many hours spent on investigating different solutions, I sorted out that only this one is stable enough: use cx_oracle_on_types: https://github.com/lameiro/cx_oracle_on_ctypes

mnowotka
  • 16,430
  • 18
  • 88
  • 134