Raspberry pi No module named 'cx_Oracle'

前端 未结 2 1697
梦如初夏
梦如初夏 2020-12-22 07:20

I want to use the raspberry pi to send values to the Oracle11g database, but when I run import cx_Oracle syntax for that process, I get the following error:

相关标签:
2条回答
  • 2020-12-22 07:51

    It means, that you have not installed module cx_Oracle.

    First you must install Oracle driver with PIP:

    python -m pip install cx_Oracle --upgrade
    

    Hope it helped you.

    0 讨论(0)
  • 2020-12-22 07:53

    There is no ARM port of the Oracle Client libraries that are needed by cx_Oracle. You'll have to use something like REST calls from Python to a mid-tier server (in whatever language you like) running on an operating system that will support connection to the Oracle DB.

    0 讨论(0)
提交回复
热议问题