![]() ![]() |
Oct 26 2005, 03:27 AM
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 5-October 05 Member No.: 8,254 |
So...
I added the update for pysqlite2 to my Zee from the 3.5.3 Upgrades folder. python-pysqlite2_2.0.beta1-ml1_arm.ipk I then ran a simple script to run the tests. CODE #!/usr/bin/python from pysqlite2 import test test.test() And I get these errors. CODE Traceback (most recent call last): File "./test2.py", line 2, in ? from pysqlite2 import test File "/home/hrw/zaurus/oe/build/353/tmp/work/python-pysqlite2-2.0.beta1-ml1/image//usr/lib/python2.4/site-packages/pysqlite2/test/__init__.py", line 25, in ? File "/home/hrw/zaurus/oe/build/353/tmp/work/python-pysqlite2-2.0.beta1-ml1/image//usr/lib/python2.4/site-packages/pysqlite2/test/dbapi.py", line 25, in ? File "/home/hrw/zaurus/oe/build/353/tmp/work/python-pysqlite2-2.0.beta1-ml1/image//usr/lib/python2.4/site-packages/pysqlite2/dbapi2.py", line 32, in ? ImportError: No module named datetime Seems like the datetime module that came in at 2.3 is missing from Python. Any ideas where I might get this to run on my Zee? I have checked the Cheese Shop and no sign of it there. Have also checked python.org. I can see it in the source tarball for the whole of python-2.4.2 but I wanted it in the format where I could just run CODE python setup.py install I am running OZ 3.5.3 (Collie) on my SL5500. Thanks in advance. Norm |
|
|
|
Nov 4 2005, 09:32 AM
Post
#2
|
|
|
Group: Members Posts: 668 Joined: 3-December 03 From: US Member No.: 1,034 |
Dont know about OZ in particular, but you may install the Kopsis python which includes all common as well as additional modules.
Or if you just want datetime module, unzip (or untar) the Kopsis distribution and then copy over only the modules you want manually to the python install directory under OZ (I am not aware of the OZ directory struc). |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 04:41 PM |