FW: [Tutor] where does pythonpath go?

BELSEY, Dylan dylan.belsey@baesystems.com
Thu, 15 Aug 2002 13:22:09 +0930


Also forwarding this on to the list........


-----Original Message-----
From: Laney Mills [mailto:millsl@cofc.edu] 
Sent: Thursday, 15 August 2002 12:01
To: 'BELSEY, Dylan'
Subject: RE: [Tutor] where does pythonpath go?


I just noticed that my pythonpath statement referred to an earlier 
configuration I had tried.  Now I have corrected the pythonpath statementa 
to point to the pil, the samples, and the dlls directories, which is how I 
have them placed now.

I still get the same message from python in response to

import image

Thanks
lrm




-----Original Message-----
From:	BELSEY, Dylan [SMTP:dylan.belsey@baesystems.com]
Sent:	Wednesday, August 14, 2002 9:27 PM
To:	'millsl@cofc.edu'; 'tutor@python.org'
Subject:	RE: [Tutor] where does pythonpath go?

Hi Laney,
	Not sure if this helps but you may want to remove PIL and re-install
it in C:\MyPrograms\Python22 ie. where your Python installation lives.  I
had to do this when installing Pmw (Python Mega Widgets for Tkinter).
Haven't tried the Pil so not a guaranteed fix but I suppose it's worth a 
try
if nothing else works.
	Perhaps you might want to post the error, on this list, that you get
when you try to import the functions etc.  It may yield more information as
to the problem. It may come down to adding to PYTHONPATH????

		Dylan


-----Original Message-----
From: Laney Mills [mailto:millsl@cofc.edu]
Sent: Wednesday, 14 August 2002 21:17
To: 'tutor@python.org'
Subject: [Tutor] where does pythonpath go?


I'm running Python 2.2 on a Windows 98se system.  I just downloaded the pil 

thing (what is it called, a library?), but, of course, the Python2.2
couldn't find it.  The install program put it in C:\py22.  My python
installation is in c:\my programs\python22.

I drug the three files in the distribution:  pil, dlls, and samples into my 

python22 directory under the filename pil:  ex:

C:\program files\python22\pil\{dlls, pil, samples}


Still the python couldn't find it.

I checked vis

sys
sys.path

and the pil stuff isn't there, so of course, I need to put it there
somehow.

Incidentally,  I had no difficulty like this at all with the visual
library.  I installer found the python22 directory and put the visual stuff 

in a subdirectory and python found it with no trouble.

This experience is surely one that everyone using pil on a windows system
would run into, yet as far as I can tell, the entire python documentation
system takes the point of view that there is no such problem.

frustration

Thanks in advance.  Laney Mills

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor