Re: Help/Advice installing cx_oracle on El Capitan

greg <[email protected]> Thu, 22 Oct 2015 11:35:24 -0400
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <CAOpDiKz1kFb1DpCnf0X_evTFM_nX54xB2nJZGG5DvhdFVGj55w@mail.gmail.com>
Here's that link:
http://kevindalias.com/2014/03/26/how-to-set-up-cx_oracle-for-python-on-mac-os-x-10-89/

e.g., added a line like this at the end of /etc/hosts

127.0.0.1 localhost my-host-name

On Thu, Oct 22, 2015 at 11:33 AM, greg <[email protected]> wrote:
> 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

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