Re: [cx-oracle-users] cx_Oracle not importing
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2010-09-02 18:56:54
|
Ok. I missed that. :-) I don't always pay attention to who is asking me questions and look to see if two questions asked by the same person are related. Sorry for the noise. Anthony On Thu, Sep 2, 2010 at 12:44 PM, Cliff Martin <cli...@gm...> wrote: > This was part of another question you have already answered. The problem was > that cx_Oracle was not being built due to libttsh11 not being > included/linked to. > > -- > > Cliff > > > On Thu, Sep 2, 2010 at 2:32 PM, Anthony Tuininga > <ant...@gm...> wrote: >> >> Hmm, not sure why you would be running into difficulties. You could >> make sure that the location calculated in the test() command in >> setup.py actually contains a copy of cx_Oracle. You should also show >> the output from your command as that might help determine the problem, >> too. >> >> Anthony >> >> On Thu, Aug 26, 2010 at 11:07 AM, Cliff Martin <cli...@gm...> >> wrote: >> > I am trying to get cx_Oracle working with a new install of Python 3 on >> > HP-UX, and it's not working when I try to run the tests. It says >> > ImportError: not able to import cx_Oracle. >> > >> > I can't seem to find any information on why it's not working, and I was >> > hoping that someone could point me in a direction. This same setup works >> > with Python 2.6.5. >> > >> > I have done the following: >> > >> > python3 setup.py build >> > >> > and then >> > >> > python3 setup.py test >> > >> > the test step fails to import. >> > >> > Specifics: >> > >> > Platform: HP-UX 11.31 on Itanium (IA64) >> > Python: 3.1.2 >> > cx_Oracle: 5.0.4 >> > gcc: 4.4.3 >> > Oracle: 11.1.0 (or maybe 11.2.0, I point to the client for 11.1.0, but >> > it's >> > actually running 11.2.0) >> > >> > Build options: -mlp64 (for 64 bit build) >> > >> > -- >> > >> > Cliff >> > >> > >> > ------------------------------------------------------------------------------ >> > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program >> > Be part of this innovative community and reach millions of netbook users >> > worldwide. Take advantage of special opportunities to increase revenue >> > and >> > speed time-to-market. Join now, and jumpstart your future. >> > http://p.sf.net/sfu/intel-atom-d2d >> > _______________________________________________ >> > cx-oracle-users mailing list >> > cx-...@li... >> > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users >> > >> > >> >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> cx-oracle-users mailing list >> cx-...@li... >> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |