The python version already installed on my Mac is 2.6.2. How can I know what version of python the web2py is taking?
On 20 nov, 00:24, Thadeus Burgess <[email protected]> wrote: > Are you sure it installed to the right version of python? > > Macs already come with python 2.3(or 2.4) installed, in a way that makes it > difficult for python applications to make use of it. > > -Thadeus > > On Thu, Nov 19, 2009 at 6:17 PM, Alexander Cabezas > <[email protected]>wrote: > > > > > I have installed the mysql-python on a Leopard 10.5 and when i have > > tryed to run my application, after mody the db.py > > > db = DAL('mysql://r...@localhost/database') > > > web2py generated a ticket with the following error: > > > Traceback (most recent call last): > > File "gluon/restricted.py", line 184, in restricted > > File "/Users/acabezas/Sites/web2py/web2py.app/Contents/Resources/ > > applications/core/models/db.py", line 15, in <module> > > File "gluon/sql.py", line 3580, in DAL > > File "gluon/sql.py", line 870, in __init__ > > File "gluon/sql.py", line 781, in _pool_connection > > File "gluon/sql.py", line 870, in <lambda> > > NameError: global name 'MySQLdb' is not defined > > > thank you very much for helping me --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

