Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80895
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <abdul.sw84@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'that?': 0.05; 'error:': 0.07; 'importerror:': 0.07; 'subject:Error': 0.07; 'failed:': 0.09; 'pil': 0.09; 'subject:trying': 0.09; 'issue?': 0.16; 'subject:image': 0.16; 'subject:when': 0.16; 'trying': 0.19; 'thanks.': 0.20; 'import': 0.22; 'load': 0.23; 'dll': 0.24; 'skip:" 40': 0.26; 'skip:& 60': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'img': 0.31; 'file': 0.32; 'open': 0.33; 'core': 0.34; 'received:google.com': 0.35; 'skip:" 50': 0.36; 'skip:& 10': 0.38; 'follows:': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'solve': 0.60 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=P/M9NUzfbIopkvBzo7lrzAJMUeEFaTKm/c0PAuGmFTs=; b=In0xOZBMSywzi9RmthrIwEtpfyzz22WiNSvGMVS7YSCe6yDSZh0pWPgZas3bOeJ0sT OoBHEdA2v8Xz1GPR2uD66+EntpE4SWuLt957GTIR+cywB0797Ph57TodIXo6XvrzkDhp yRdGK14IQch4zcWAZ7iW1pKQFUQEQ6Vz80TrVLAqc5kluqo9BwLIPkNGzF6Yy5ckXkT4 4TTlNEjN9C4/ezSHWGFIDIk6ZbjGltRLNuMbHdYCkbuUASEeY97D/h+AO46gKnMpFU+H SNsOOFAHpC4XZF30GlB/vYeiGVsaFpq7kZZu0Z/akTV21lgn6GBgzJmj3egenHeuGPGs 0/jA== |
| MIME-Version | 1.0 |
| X-Received | by 10.202.67.85 with SMTP id q82mr19279974oia.35.1416166631988; Sun, 16 Nov 2014 11:37:11 -0800 (PST) |
| Date | Sun, 16 Nov 2014 20:37:11 +0100 |
| Subject | Error when trying to open an image |
| From | Abdul Abdul <abdul.sw84@gmail.com> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=001a113dd29c0ae3580507fefd24 |
| X-Mailman-Approved-At | Sun, 16 Nov 2014 21:20:14 +0100 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15894.1416169215.18130.python-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1416169215 news.xs4all.nl 2884 [2001:888:2000:d::a6]:60478 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:80895 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hello,
I'm trying to open an image using the `Python Imaging Library` as follows:
from PIL import Image
img = Image.open('xyz.jpg')
But, got the following error:
File "C:/Users/abc/PycharmProjects/untitled/open_image.py", line 2, in
<module>
from PIL import Image
File "C:\Python34\lib\site-packages\PIL\Image.py", line 62, in <module>
from PIL import _imaging as core
ImportError: DLL load failed: %1 is not a valid Win32 application.
Why is that? How can I solve this issue?
Thanks.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Error when trying to open an image Abdul Abdul <abdul.sw84@gmail.com> - 2014-11-16 20:37 +0100
csiph-web