Re: [cx-oracle-users] Help/Advice installing cx_oracle on El Capitan
Brought to you by:
atuining
From: greg <mar...@gm...> - 2015-10-22 15:33:17
|
I think I fixed it. I ended up using this for pip install to make sure it pulls down a new copy and rebuilds (and maybe gets a later version??) $ pip install --no-cache-dir --allow-external --allow-unverified cx_oracle I was then able to import cx_oracle without issues but I was getting an error "'ORA-21561: OID generation failed'". Then I followed the instructions here and added a line with my hostname to the /etc/hosts file and it all works now. -Greg On Thu, Oct 22, 2015 at 9:59 AM, greg <mar...@gm...> wrote: > I'm confused, isn't 5.2 the latest version? which version should I use? > > On Thu, Oct 22, 2015 at 9:14 AM, greg <mar...@gm...> wrote: >> Thanks, that makes a lot of sense. Any idea how to make pip not do >> that? Maybe I should just specify the latest version? >> >> On Wed, Oct 21, 2015 at 1:48 PM, Shai Berger <sh...@pl...> wrote: >>> Hi Greg, >>> >>> It seems to me like your "pip install" command is picking some previously >>> installed cx-oracle on your system, rather than building a new one. That is >>> probably why you're getting cx-oracle 5.2 and not the latest version, and that >>> is why your installation output does not seem to include compilation. >>> >>> HTH, >>> Shai. >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> cx-oracle-users mailing list >>> cx-...@li... >>> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users |