cx_Oracle安装后没有egg包,cx_Oracle 模块如何安装

我参考这篇文章安装cx_Oracle模块 http://kevindalias.com/2014/03/26/how-to-set-up-cx_oracle-for-python-on-mac-os-x-10-89/

控制台报如下错

➜ ~ pip install cx_Oracle --allow-external cx_Oracle --allow-unverified cx_Oracle

Downloading/unpacking cx-Oracle

Downloading cx_Oracle-5.1.3.tar.gz (104kB): 104kB downloaded

Running setup.py (path:/private/var/folders/bh/yqy9l7cx5vd77ymkjhtyv8r40000gn/T/pip_build_qk/cx-Oracle/setup.py) egg_info for package cx-Oracle

^CCleaning up...

Operation cancelled by user

Storing debug log for failure in /Users/qk/.pip/pip.log

➜ ~ pip install cx_Oracle --allow-external cx_Oracle --allow-unverified cx_Oracle

Downloading/unpacking cx-Oracle

Downloading cx_Oracle-5.1.3.tar.gz (104kB): 104kB downloaded

Running setup.py (path:/private/var/folders/bh/yqy9l7cx5vd77ymkjhtyv8r40000gn/T/pip_build_qk/cx-Oracle/setup.py) egg_info for package cx-Oracle

Traceback (most recent call last):

File "", line 17, in

File "/private/var/folders/bh/yqy9l7cx5vd77ymkjhtyv8r40000gn/T/pip_build_qk/cx-Oracle/setup.py", line 135, in

raise DistutilsSetupError("cannot locate an Oracle software " \

distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File "", line 17, in

File "/private/var/folders/bh/yqy9l7cx5vd77ymkjhtyv8r40000gn/T/pip_build_qk/cx-Oracle/setup.py", line 135, in

raise DistutilsSetupError("cannot locate an Oracle software " \

distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation

----------------------------------------

Cleaning up...

Command python setup.py egg_info failed with error code 1 in /private/var/folders/bh/yqy9l7cx5vd77ymkjhtyv8r40000gn/T/pip_build_qk/cx-Oracle

Storing debug log for failure in /Users/qk/.pip/pip.log

有谁碰到此类问题的,如何解决。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值