Problem installing PIL 1.1.3

Fredrik Lundh fredrik at pythonware.com
Sat Jun 29 08:06:21 EDT 2002


"netvegetable" wrote:

> Keep getting this error everytime I try to run setup.py
>
> File "D:\PYTHON22\lib\site-
> packages\Pythonwin\pywin\framework\scriptutils.py", line 301, in RunScript
>     exec codeObject in __main__.__dict__
>   File "D:\Python22\Imaging-1.1.3\setup.py", line 52, in ?
>     for line in open(os.path.join("libImaging", "ImConfig.h")).readlines():
> IOError: [Errno 2] No such file or directory: 'libImaging\\ImConfig.h'
>
> Anyone seen this happen before? Or even better, know how I can get it to
> work?

the setup.py script assumes that 1) you have the full source
kit installed, and 2) you're running the script from the source
directory.

I suggest running the configuration/build files from a Windows
console, not from within a Python IDE.

</F>





More information about the Python-list mailing list