Re: Basic question

Sebastian Haase <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
try
>>>  import Image

capital !

and/or

>>> from PIL import Image

-S




On Fri, Apr 15, 2011 at 2:52 PM, SYBA-CO <[email protected]> wrote:
>
> Hello Everyone,
> Ok.
> I have downloaded the PIL file from this location
> http://www.pythonware.com/products/pil/#pil117
>
> the module is ver 1.1.7 for Python 2.7 (windows Only 32bit)
> PIL-1.1.7.win32-py2.7.exe
> http://effbot.org/downloads/PIL-1.1.7.win32-py2.7.exe
>
> after downloading the module I clicked to install, it does give me feedback saying it found Python 2.7 in my registry and it is installing
> That is what I have done so far,
>
> I try to use it by inserting the import image command in my program and I run it. I get an error " can't find the image module".
>
> so since i am new to Python have I missed a path alteration or have i missed any instructions somewhere, I do not have fundamental knowledge of the python directory structure IE: when you issue an import command does the interpreter scan a predefined path or how all that happens, I may need a visual explanation of the structure such as \lib\..lib\site...\ libs\ etc...
> It is possible that because of my novice status I have missed a setup procedure........
> what other details would you like to know please let me know.
> Thank you everyone,
> Simon
>
> On Fri, Apr 15, 2011 at 3:47 AM, Sebastian Haase <[email protected]> wrote:
>>
>> Hi,
>> you have to tell us more details, like what have you done so far,
>> where did you get which files,
>> if you expect any help.
>>
>> -Sebastian Haase
>>
>>
>> On Fri, Apr 15, 2011 at 4:44 AM, SYBA-CO <[email protected]> wrote:
>> > Hi everyone, I'm new to python I have been battling with the
>> > installation of the PIL library, I have not been successful, I'm using
>> > Python 2.7 I also have the 3.x installed, but I'm using the 2.7
>> > version for PIL compatibility. Can someone help me in the PIL
>> > installation
>> > If some one does help me, could you please provide the info in
>> > explicit detail. Oh yes I am. On a windows 7 system.
>> > Thank you very much.
>> > Sj.
>> > _______________________________________________
>> > Image-SIG maillist  -  [email protected]
>> > http://mail.python.org/mailman/listinfo/image-sig
>> >
>
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.