[PythonCE] Newbie error installing PythonCE22 on Jornada 720: "No module named ceshell"

rdev7@bigfoot.com rdev7@bigfoot.com
Thu, 19 Sep 2002 16:12:55 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_010D_01C25FF7.69D2D1E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi - I have been trying to install Python on an HP Jornada 720.  I keep =
getting the error "'import site' failed - use -v for more detail" in the =
main console window, with a Python Error popup window that says =
"Traceback (innermost last): cant import traceback; =
exceptions.ImportError: No module named ceshell".  Can anyone tell me =
what I am doing wrong?

I am using the file PythonCE22-HPC2000-ARM-020914.zip downloaded from =
http://pages.ccapcable.com/lac/files-a/.  I unzipped that file and =
transferred the contents to a compact flash storage card on my Jornada.  =
I have edited SITE.py so that the sys.path line reads sys.path =3D =
['\\Storage Card\\Python22', '\\Storage Card\\Python22\\lib','\\My =
documents'], which is consistent with my Jornada's directory structure.  =


After encountering these problems, I then tried a couple of superficial =
tactics to get Python to run, without success:
- I looked in the Python22 directory and could not find a module or file =
called ceshell, so I made a duplicate of the file pcceshell.py and =
renamed it so that it was called "ceshell.py".  Unfortunately I then got =
a different error, which was identical to the first error described =
above, except that the last message was "exceptions.ImportError: No =
Module named win32gui". =20
- Finally, I transferred all the files from the storage card to the main =
disk of the Jornada, and changed the SITE.py sys.path variable =
accordingly.  This made no difference and I still encountered the same =
problems as before.

I'd really appreciate hearing about any tips or pointers towards =
resources that might help me.  Thanks!

Roy


------=_NextPart_000_010D_01C25FF7.69D2D1E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi - I have been trying to install =
Python on an=20
HP&nbsp;Jornada 720.&nbsp; I keep getting the error "'import site' =
failed - use=20
-v for more detail" in the main console window, with a Python Error =
popup window=20
that says "Traceback (innermost last): cant import traceback;=20
exceptions.ImportError: No module named ceshell".&nbsp; Can anyone tell =
me what=20
I am doing wrong?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am using the file=20
PythonCE22-HPC2000-ARM-020914.zip downloaded from <A=20
href=3D"http://pages.ccapcable.com/lac/files-a/">http://pages.ccapcable.c=
om/lac/files-a/</A>.&nbsp;=20
I unzipped that file and transferred the contents to a compact flash =
storage=20
card on my Jornada.&nbsp; I have edited SITE.py so that the sys.path =
line reads=20
sys.path =3D ['\\Storage Card\\Python22', '\\Storage =
Card\\Python22\\lib','\\My=20
documents'], which is consistent with my Jornada's directory =
structure.&nbsp;=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>After encountering these&nbsp;problems, =
I then=20
tried a couple of superficial tactics to get Python to run, without=20
success:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- I looked in the Python22 directory =
and could not=20
find a module or file called ceshell, so I made a duplicate of the file=20
pcceshell.py and renamed it so that it was called "ceshell.py".&nbsp;=20
Unfortunately I then got a different error, which was identical to the =
first=20
error described above, except that the last message was =
"exceptions.ImportError:=20
No Module named win32gui".&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- Finally, I transferred all the files =
from the=20
storage card to the main disk of the Jornada, and changed the SITE.py =
sys.path=20
variable accordingly.&nbsp; This made no difference and I still =
encountered the=20
same problems as before.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'd really appreciate hearing about any =
tips or=20
pointers towards resources that might help me.&nbsp; =
Thanks!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Roy</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_010D_01C25FF7.69D2D1E0--