I'm not sure if is a sqlalchemy error but I think is, at least, a
strange behaviour.
I was trying to ran the addressbook example of amfast package, which
combines sqlalchemy as orm and cherrypy as server. Before I do that
I've done the following steps:
- install python (2.6.1)
- build and Install setuptools (0.6c9)
- install pyamf via easy_install (0.4.2)
- install cherrypy via easy_install (3.1.2)
- install sqlalchemy via easy_install (v0.5.3)
- install MinGW to compile amfast (0.3.0)
- download, compile and install amfast
So, inside .....amfast/examples/addressbook/python i run: python
cp_server.py and got:
"
Traceback (most recent call last):
File "cp_server.py", line 11, in <module>
import utils
File "C:\Desenvolvimento\python\AMFast\examples\addressbook\python
\utils.py", line 11, in <module>
from amfast.class_def.sa_class_def import SaClassDef
File "build\bdist.win32\egg\amfast\class_def\sa_class_def.py", line
10, in <module>
File "c:\python25\lib\site-packages\sqlalchemy-0.5.3-py2.5.egg
\sqlalchemy\orm\__init__.py", line 1
6, in <module>
from sqlalchemy.orm.mapper import (
File "c:\python25\lib\site-packages\sqlalchemy-0.5.3-py2.5.egg
\sqlalchemy\orm\mapper.py", line 25,
in <module>
from sqlalchemy.orm import attributes, exc, sync
File "c:\python25\lib\site-packages\sqlalchemy-0.5.3-py2.5.egg
\sqlalchemy\orm\attributes.py", line
24, in <module>
from sqlalchemy.orm import interfaces, collections, exc
ImportError: cannot import name interfaces
"
This error occurs only in windows vista. I tried the same steps on a
machine with XP installed and it runs fine. I tried also on other
machine with GNU/Linux Ubuntu 8.04 without surprises. On windows vista
I uninstalled completely python 2.6 and installed python 2.5.4 but I
got the same error.
May have anything I've done wrong?
Has someone who has got the same error?
Cheers.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---