[sqlalchemy] Re: SQLAlchemy and py2exe problem

2006-12-24 Thread Oleg Deribas
Hello, Karlo Lozovina said the following on 19.12.2006 6:01: I'm working with SQLAlchemy 0.3.3, Python 2.5 and py2exe 0.6.5. This simple scripts fails when I run test.exe: ImportError: No module named logging Have you solved this problem? I want to try to use py2exe also. -- Oleg --~--

[sqlalchemy] Re: SQLAlchemy and py2exe problem

2006-12-19 Thread ml
Hi! I had similar problem with module "postgres". py2exe didn't automaticaly include the module so I simply put "import sqlalchemy.databases.postgres" into the main script. Perhaps you should try something like this with the logging. DS Karlo Lozovina píše v Út 19. 12. 2006 v 04:01 +: > Hi

[sqlalchemy] Re: SQLAlchemy and py2exe problem

2006-12-19 Thread Michael Bayer
most likely this is an incompatibility with SA's usage of the name "logging" as a module name, which is also a standard python module (you might have the same issue with the "types" module). absolute module imports by default are to become the standard in py2.6 and i believe are supported in py2.