Re: RE: eclipse unresovled import and print_resultset

"Charlie Clark" <[email protected]>
Newsgroups gmane.comp.python.egenix.user
Organization eGenix.com
Message-ID <[email protected]>
Am 29.08.2009, 05:08 Uhr, schrieb Raful CIV Mitchell H  
<[email protected]>:

> In Eclipse, I get an unresolved import using mx.ODBC.unixODBC.  I also  
> noticed that the install placed everything in  
> /usr/local/lib64/site-packages instead of the system wide  
> ‘/usr/lib64/python 2.6/site-packages’.  Is there something I can do to  
> configure the install directory in advance.

Both /usr/lib and /usr/local/lib (or /opt/local on some systems) are  
system-wide. The convention is that user installed packages go into  
/usr/local rather than straight /usr to avoid conflicts with system  
installs. Install directories can be configured but I'm slightly confused  
as to where your Python 2.6 is. What OS and distribution are you using?

Charlie
-- 
Charlie Clark
eGenix.com

Professional Python Services directly from the Source
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


    eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
     D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
            Registered at Amtsgericht Duesseldorf: HRB 46611
                 http://www.egenix.com/company/contact/


_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.