我正在處理Plone。錯誤:找不到Oracle軟件安裝
PRELUDE
我已經安裝:
甲骨文instantclient12.1-基本-12.1.0.1.0-1.x86_64.rpm 甲骨文instantclient12.1-devel的-12.1。 0.1.0-1.x86_64.rpm oracle-instantclient12.1 -sqlplus-12.1.0.1.0-1.x86_64.rpm
還有cx_Oracle。 我已經測試了安裝,並且一切正常:db連接成功。
echo $ORACLE_HOME
/usr/lib/oracle/12.1/client64
echo $TNS_ADMIN
/usr/lib/oracle/12.1/client64/admin
echo $LD_LIBRARY_PATH
/usr/lib/oracle/12.1/client64/lib
的問題
我已經編輯buildout.cfg如下:
[...]
eggs =
Plone
Pillow
collective.documentviewer
Products.OpenXml
Products.AROfficeTransforms
tus
wildcard.foldercontents==2.0a7
**cx_Oracle**
[...]
我收到此錯誤:
Unused options for buildout: 'environment-vars'.
Installing instance.
Getting distribution for 'cx-Oracle'.
error: cannot locate an Oracle software installation
An error occurred when trying to install cx-Oracle 5.1.3. Look above this message for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for 'cx-Oracle'.
Error: Couldn't install: cx-Oracle 5.1.3
我不知道如何解決此問題。
「無法找到Oracle軟件安裝」如何解決此問題?
做你添加ORACLE_HOME/bin添加到PATH以及庫? – hvelarde