Re: Help/Advice installing cx_oracle on El Capitan
greg <[email protected]> Thu, 22 Oct 2015 11:33:10 -0400
| Newsgroups | gmane.comp.python.db.cx-oracle |
|---|---|
| Message-ID | <CAOpDiKxrJN3RDrnTXrSXt-33DUKN04oNktF-0QtLftL5G+gDUg@mail.gmail.com> |
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 <[email protected]> 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 <[email protected]> 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 <shai-9mtU2oJkgntWk0Htik3J/[email protected]> 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-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users ------------------------------------------------------------------------------