How to install/use cx_Oracle in PyPy

一曲冷凌霜 提交于 2021-02-07 14:29:21

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!