我試圖安裝cx_Oracle以在現有Oracle數據庫上使用Django inspectdb自動創建models.py。到目前爲止,我非常努力。我使用的是Fedora 14 64bit和Python 2.7的虛擬機,並且跟隨谷歌搜索到的頁面混合使用它來安裝sudo -E easy_install cx_Oraclepython import cx_Oracle error
當我從終端啓動python並嘗試導入cx_Oracle以測試安裝我得到這個:
>>> import cx_Oracle
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: libclntsh.so.11.1: cannot enable executable stack as shared object requires: Permission denied
我從來沒有見過這個,不知道該怎麼做。任何幫助將非常感激。 由於提前,
斯特凡諾
不確定,但是你可以直接嘗試下載cx_Oracle rpm,並確保你選擇了64位版本。首先刪除當前的cx_Oracle安裝。 – Tshepang