As there is no build for Python 2.4, I attempted to put it together
from source. Running
setup.py build
gives this error:
Traceback (most recent call last):
File "C:\tmp\PIL\Imaging-1.1.4\setup.py", line 60, in ?
for line in open(os.path.join("libImaging",
"ImConfig.h")).readlines():
IOError: [Errno 2] No such file or directory: 'libImaging\\ImConfig.h'
Appears to be putting in two backslashes.
Can anyone give me a clue to fix this?
Scott 14 1508
Scott F wrote: As there is no build for Python 2.4, I attempted to put it together from source. Running
setup.py build
gives this error:
Traceback (most recent call last): File "C:\tmp\PIL\Imaging-1.1.4\setup.py", line 60, in ? for line in open(os.path.join("libImaging", "ImConfig.h")).readlines(): IOError: [Errno 2] No such file or directory: 'libImaging\\ImConfig.h'
Appears to be putting in two backslashes.
Actually, you're just seeing the repr() of the filename.
You really are missing that file in the place where it's
looking. Note the similarity in the last two errors here: open('test/this')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
IOError: [Errno 2] No such file or directory: 'test/this' open('test\\this')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
IOError: [Errno 2] No such file or directory: 'test\\this' open(r'test\this')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
IOError: [Errno 2] No such file or directory: 'test\\this'
-Peter
Peter Hansen <pe***@engcorp.com> wrote in
news:cp**********@utornnr1pp.grouptelecom.net: Actually, you're just seeing the repr() of the filename. You really are missing that file in the place where it's looking.
-Peter
Give the man a beer! Thanks. I had ImConfig.h.win so I changed
setup.py to that and off we go.
Scott
So you've built PIL for windows, Python 2.4 ?
Any chance of sharing it ? What compiler have you configured distutils
to use ?
Regards,
Fuzzyman
"Fuzzyman" <fu******@gmail.com> wrote in
news:11*********************@z14g2000cwz.googlegro ups.com: So you've built PIL for windows, Python 2.4 ?
Any chance of sharing it ? What compiler have you configured distutils to use ?
I'm very sorry I spoke too soon. After making the initial change, the
setup.py took off on a run. But it soon quit, informing me that I
needed the Visual Studio 7 tools. So, I have no PIL either.
Fuzzyman wrote: So you've built PIL for windows, Python 2.4 ?
Any chance of sharing it ? What compiler have you configured distutils to use ?
Regards,
Fuzzyman
I have compiled 1.1.4's _imaging & _imagingft for 2.4 and have placed them at http://www.reportlab.org/ftp/win32-dlls/2.4
Don't have a decent TCL any more so haven't compiled that stuff.
--
Robin Becker
Fuzzyman wrote: Steve Holden wrote:
Fuzzyman wrote:
If you're determined enough there are instructions here : http://www.vrplumber.com/programming/mstoolkit/
These will get you the Visual Studio 7 tools (free releases of) and tell you how to configure distutils to use it.
Hefty downloads though, do not attempt this without broadband !
Regards,
Fuzzy http://www.voidspace.org.uk/atlantib...thonutils.html
Wow! I already installed the oolkit Compiler, and now it seems I need
to
install 646MB of SDK. Make that "you have to be *really, really* determined".
Think I might wait a bit longer.
regards Steve -- http://www.holdenweb.com http://pydish.holdenweb.com Holden Web LLC +1 800 494 3119
Hello Steve,
I've just completed following the instructions at http://www.vrplumber.com/programming/mstoolkit/
It's really not too bad. The download is 400meg - which unpacks to about a 650meg isntall... but is you're hard drive that full ?
Once done it works fine........
No, it's not that my hard drive is full (I have 22 GB spare on the
current 60BG drive, and can add another 60 GB if I need (though that
would be another 1lb to have to lug around :-).
It's the unreliability of the download process. I have now tried the
installation four times, and each time it's stalled during the download
of a component. Maybe it's just the times I've been trying, but it's
driving me nuts.
regards
Steve
-- http://www.holdenweb.com http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
Fuzzyman wrote: That's odd - it worked fully *both* times I've done it.
I did the *full* doenload though and downloaded the 13 CAB files individually and did a local install.
I made the mistake of trying to use the Microsoft installer, which is
frankly a load of crap. As I write it's now canceling a fifth
installation attempt, as it have been for the last twenty minutes. Bah.
regards
Steve
-- http://www.holdenweb.com http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
Steve Holden wrote: Fuzzyman wrote:
That's odd - it worked fully *both* times I've done it.
I did the *full* doenload though and downloaded the 13 CAB files individually and did a local install.
I made the mistake of trying to use the Microsoft installer, which is frankly a load of crap. As I write it's now canceling a fifth installation attempt, as it have been for the last twenty minutes. Bah.
As a further follow-up, I have now managed to install the Egenix base
package from source (even building my own Windows installer: neat!), so
it looks like I'm there - thanks for encouraging me to persist, I did
eventually manage to install by downloading the installer files and
running them locally.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Olli Piepponen |
last post by:
Hi,
I'm having a little problem catching keystrokes under Windows. I did a
little research and found that with mscvrt.getch() one can cath a single
key that is pressed. However this doesn't work...
|
by: Zach Shutters |
last post by:
I am new to python and working my way through the van Rossum tutorial. I
am cursios though about if you can program windows with python? I know I
shouldn't worry about this right now but I am...
|
by: BOOGIEMAN |
last post by:
Well that's it, how do I make Windows Application with Python ???
Is there simple way that works 100% ? How can I rework visual design
done in VS 2003 to use it for my python program ?
|
by: Michael Kearns |
last post by:
I've been using python to write a simple 'launcher' for one of our Java
applications for quite a while now. I recently updated it to use python
2.4, and all seemed well.
Today, one of my...
|
by: Paul Rubin |
last post by:
Dumb question from a Windows ignoramus:
I find myself needing to write a Python app (call it myapp.py) that
uses tkinter, which as it happens has to be used under (ugh) Windows.
That's Windows...
|
by: Paul Rubin |
last post by:
As what must be penance for something or other, I'm needing to release
a Python app for use under Windows XP. Please be gentle with me since
I'm a Un*x weenie and the only thing I've had much...
|
by: davidstummer |
last post by:
I was wondering if anyone could point me to an example. Currently i
have a c++ program which calls and c++ dll (i created both). The dll
uses SendMessage to pass messages back to the calling .exe,...
|
by: meyer |
last post by:
Hi everyone,
which compiler will Python 2.5 on Windows (Intel) be built with? I
notice that Python 2.4 apparently has been built with the VS2003
toolkit compiler, and I read a post from Scott...
|
by: JW |
last post by:
I have a lousy little Python extension, generated with the generous help
of Pyrex. In Linux, things are simple. I compile the extension, link it
against some C stuff, and *poof*! everything...
|
by: Ben Sizer |
last post by:
I've installed several different versions of Python across several
different versions of MS Windows, and not a single time was the Python
directory or the Scripts subdirectory added to the PATH...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |