diff image error
Terry Amato
Terry.Amato at medsimulation.com
Thu May 1 07:30:38 PDT 2014
PIL stands for Python Image Library.
It makes image related work fairly easy.
However, the latest version of PIL does not seem to support python 3.4 and you'll need to download python 2.7.
This was read from PIL's homepage.
As far as other python modules or anything else you might be missing, I'm hoping others respond because my use of apitrace has been rather limited.
Terence
From: apitrace [mailto:apitrace-bounces at lists.freedesktop.org] On Behalf Of Ron
Sent: Wednesday, April 30, 2014 6:44 PM
To: .
Subject: diff image error
Hi,
I'm a APITrace newb so please don't mind the question being too primitive. I have recently downloaded and started using APITrace. There is probably more to prepping for running APITrace correctly than what I have gleaned from what documentation I have come across, mainly in this page:
https://github.com/apitrace/apitrace/blob/master/README.markdown#basic-usage
While I have been able to generate trace files and replay them with some success, I have had trouble with doing image comparison between different runs. (This is all on Windows 7, by the way).
I first had this error:
$ apitrace diff-images --output summary.html I:\APITRACE\Snapshots\REF3 I:\APITRACE\Snapshots\REF4
error: failed to execute python
which made me realize I needed Python. I downloaded and installed Python 3.4 and that got me past the above error. But since I haven't seen installing Python mentioned in the docs that I have read so far, the next error is making me wonder if there are other things required on my system for successful use of APITrace. Can anyone tell me what the following error indicates I'm missing?
$ apitrace diff-images --output summary.html I:\APITRACE\Snapshots\REF3 I:\APITRACE\Snapshots\REF4
Traceback (most recent call last):
File "I:\APITRACE\x86\bin\..\lib\scripts\snapdiff.py", line 39,
in <module>
from PIL import Image
ImportError: No module named 'PIL'
Thanks!
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20140501/9fef3b11/attachment.html>
More information about the apitrace
mailing list