I think you need both sqlite3 and (optional) tkinter On Dec 29, 3:12 am, pierreth <pierre.thibau...@gmail.com> wrote: > OK, > > It works perfectly well using the Python version of my > distribution. :-) > > I wanted to install version 2.4, 2.5, 2.6 of Python to test my code > and later contribute to Web2Py. > > Why do I need to do more than just build and install Python from the > source? > > Here are the test results for my Python installations: > > Python 2.4.6 > 251 tests OK. > 40 tests skipped: > test_aepack test_al test_applesingle test_bsddb test_bsddb185 > test_bsddb3 test_bz2 test_cd test_cl test_codecmaps_cn > test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr > test_codecmaps_tw test_curses test_dbm test_dl test_gdbm test_gl > test_imageop test_imgfile test_linuxaudiodev test_macfs > test_macostools test_nis test_normalization test_ossaudiodev > test_pep277 test_plistlib test_rgbimg test_scriptpackages > test_socket_ssl test_socketserver test_sunaudiodev test_tcl > test_timeout test_urllib2net test_urllibnet test_winreg > test_winsound > 5 skips unexpected on linux2: > test_tcl test_dbm test_bz2 test_gdbm test_bsddb > > Python 2.5.4 > 279 tests OK. > 43 tests skipped: > test_aepack test_al test_applesingle test_bsddb test_bsddb185 > test_bsddb3 test_bz2 test_cd test_cl test_codecmaps_cn > test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr > test_codecmaps_tw test_curses test_dbm test_dl test_gdbm test_gl > test_imageop test_imgfile test_linuxaudiodev test_macfs > test_macostools test_nis test_normalization test_ossaudiodev > test_pep277 test_plistlib test_rgbimg test_scriptpackages > test_socket_ssl test_socketserver test_sqlite test_startfile > test_sunaudiodev test_tcl test_timeout test_urllib2net > test_urllibnet test_winreg test_winsound test_zipfile64 > 5 skips unexpected on linux2: > test_tcl test_dbm test_bz2 test_gdbm test_bsddb > > Python 2.6.4 > 323 tests OK. > 42 tests skipped: > test_aepack test_al test_applesingle test_bsddb test_bsddb185 > test_bsddb3 test_bz2 test_cd test_cl test_codecmaps_cn > test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr > test_codecmaps_tw test_curses test_dbm test_dl test_gdbm test_gl > test_imageop test_imgfile test_kqueue test_linuxaudiodev > test_macos test_macostools test_normalization test_ossaudiodev > test_pep277 test_py3kwarn test_scriptpackages test_smtpnet > test_socketserver test_sqlite test_startfile test_sunaudiodev > test_tcl test_timeout test_urllib2net test_urllibnet test_winreg > test_winsound test_zipfile64 > 5 skips unexpected on linux2: > test_tcl test_dbm test_bz2 test_gdbm test_bsddb > > What should I do to fix them? Just install the missing sqlite3? As you > said, sqlite seems to be installed only with the Python version of my > distribution. > > On 24 déc, 22:47, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > as Yarko pointed out. We only need to look at this last line to see > > the problem is. > > Normally at startup, before you even open the browser, web2py lists > > all the db drivers it found. sqlite should be there. You will find it > > is not. If you installed it, it is possible you have different > > versions of Python and you are not running web2py with the version of > > Python that you used to install sqlite3. I suggest try to start web2py > > by specifying explicitly a version of Python. > > > Massimo > >
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.