Re: Modules... paths... newbie confusion

2006-08-25 Thread Steve Holden
Dennis Lee Bieber wrote: > On Tue, 22 Aug 2006 14:32:36 +0100, Steve Holden <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > >>You won;t get MySQLdb to run without running the setup.py since IIRC >>there's a compile step for a C library (and it's that compile step that

Re: Modules... paths... newbie confusion

2006-08-23 Thread MrBlueSky
Well thank you all... that's all very helpful (apart from the brief diversion into MySQL, but even that was instructive!). Your comments about "setup.py" prompted me to read the pytz README.txt a bit more carefully and there it says to run "python setup.py install". And this copies stuff into sit

Re: Modules... paths... newbie confusion

2006-08-22 Thread Sibylle Koczian
Steve Holden schrieb: > You won;t get MySQLdb to run without running the setup.py since IIRC > there's a compile step for a C library (and it's that compile step that > needs to be able to find the MySQL client libraries). > But MySQLdb comes with a windows installer. No need to tweak anything. So

Re: Modules... paths... newbie confusion

2006-08-22 Thread Steve Holden
MrBlueSky wrote: > Thanks for the suggestions, folks.. > > site-packages > ~~ > OK, I'm been trying to get MSSQL into c:\Python24\lib\site-packages. > MSSQL comes (as a tar'd, zip'd file) with a folder hierarchy with > MSSQL.py at the top level and then bin\python2.3\mssqldb.pyd. If I >

Re: Modules... paths... newbie confusion

2006-08-22 Thread MrBlueSky
Thanks for the suggestions, folks.. site-packages ~~ OK, I'm been trying to get MSSQL into c:\Python24\lib\site-packages. MSSQL comes (as a tar'd, zip'd file) with a folder hierarchy with MSSQL.py at the top level and then bin\python2.3\mssqldb.pyd. If I try and copy this folder hierarch

Re: Modules... paths... newbie confusion

2006-08-21 Thread Sibylle Koczian
MrBlueSky schrieb: > I wonder if someone could clarify how Python "knows" where modules are > - or at least point to some documentation that might help me? Here's > what I've been trying: > > I've installed Python 2.4 Windows, and have also installed tkinter, > pmw, cx_Oracle, mssql and pytz (phe

Re: Modules... paths... newbie confusion

2006-08-21 Thread Licheng Fang
MrBlueSky wrote: > I wonder if someone could clarify how Python "knows" where modules are > - or at least point to some documentation that might help me? Here's > what I've been trying: > > I've installed Python 2.4 Windows, and have also installed tkinter, > pmw, cx_Oracle, mssql and pytz (phew!

Modules... paths... newbie confusion

2006-08-21 Thread MrBlueSky
I wonder if someone could clarify how Python "knows" where modules are - or at least point to some documentation that might help me? Here's what I've been trying: I've installed Python 2.4 Windows, and have also installed tkinter, pmw, cx_Oracle, mssql and pytz (phew!) all under my c:\python24 fo