* Yang, W (Wanjuan) [2006-06-09 11:00]:
 
> Thanks for you reply. I found the problem is: I have python2.3 in root,
> python2.4 in local. When I install SQLAlchemy, it automatically goes to
> python2.3 rather than python2.4.
> So in root, I can use this package. But in local, the python is 2.4, so
> I can't import this package. My question is :
> How can I install SQLAlchemy in local python2.4 rather than in root
> python2.3?

I think if I understand you correctly the problem is probably that you
are using the python2.3 to run `setup.py install` and it is of course
installing in its own tree. 

What commonly causes this is the root user doesn't have '/usr/local/bin'
in $PATH so it's probably using '/usr/bin/python' which is whatever
shipped with your OS (2.3 in this case it sounds like).

I believe if you run /usr/local/bin/python2.4 (or wherever your py2.4
is) when running the install as root that will install the SA libs into
your 2.4 site packages directory.



-- 

________________________________
toddgrimason*todd[ at ]slack.net




_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to