问题
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?
回答1:
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
回答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
来源:https://stackoverflow.com/questions/9230206/how-to-install-use-cx-oracle-in-pypy