【发布时间】:2018-08-16 09:07:48
【问题描述】:
为 ubuntu 安装 oracle-instantclient 时
用 conda 和 ubuntu 安装有什么区别:
我确信它完全不同。我只想使用一些访问 oracle 服务器的 python 脚本。 选项:
- ubuntu 的 Ubuntu 安装说明
- Conda 安装
1。 Ubuntu 安装说明
安装
有关 Instant 的更多信息,请参见 Instant Client 主页 客户端包。
客户端-服务器版本互操作性在文档 ID 207303.1 中有详细说明。 例如,Oracle Call Interface 12.2 可以连接到 Oracle Database 11.2 或更高版本。某些工具可能有其他限制。
为您的平台下载适当的 Instant Client 软件包。所有安装都需要 Basic 或 Basic Light 软件包。
将包解压到单个目录,例如 C:\oracle\instantclient_12_2
将此目录添加到 PATH 环境变量中。如果您安装了多个版本的 Oracle 库,请确保新的 目录首先出现在路径中
从 Microsoft 下载并安装正确的 Visual Studio Redistributable。 Instant Client 12.2 需要 Visual Studio 2013 可再分配。 Instant Client 12.1 需要 Visual Studio 2010 可再分配。 Instant Client 11.2 需要 Visual Studio 2005 可再分发。
如果您打算将可选的 Oracle 配置文件(例如 tnsnames.ora、sqlnet.ora、ldap.ora 或 oraaccess.xml)与 Instant 放在一起 客户端,然后创建一个子目录 C:\oracle\instantclient_12_2\network\admin
这是默认的 Oracle 客户端配置目录 与此 Instant Client 链接的应用程序。
或者,可以将 Oracle 客户端配置文件放入 另一个可访问的目录。然后设置环境变量 TNS_ADMIN 到该目录名称。
- 启动您的应用程序。 Oracle source info
2。康达安装
conda install -c anaconda oracle-instantclient
几乎空了source conda 安装链接的信息
我还没有找到任何文档
【问题讨论】: