安装cx_Oracle提示distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation

前端之家收集整理的这篇文章主要介绍了安装cx_Oracle提示distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

系统: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. 安装完成

1.png

猜你在找的Django相关文章