安装cx_Oracle提示distutils.errors.DistutilsSetupError: canno
发布时间:2020-12-15 17:13:21 所属栏目:大数据 来源:网络整理
导读:系统:window7 问题背景: ????使用pip install cx_Oracle时提示:distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation 解决方法: ????1. 需要使用.exe文件进行安装。打开网址https://pypi.python.org/pypi/cx_Oracle,
系统:window7 问题背景: ????使用pip install cx_Oracle时提示:distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation 解决方法: ????1. 需要使用.exe文件进行安装。打开网址https://pypi.python.org/pypi/cx_Oracle,在页面选择适合自己操作系统、Python版本、Oracle版本的链接下载即可。 ????2. 在文件下载路径中进入cmd,使用命令:pip install cx_Oracle-6.0rc1-cp27-cp27m-win_amd64.whl ????3. 安装完成 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |