0

hi, have already written a GUI program on a different Pc, i copied the py file unto a new pc to continue with the building,i have installed all the necessary modules but it gives an error when i run it.

Traceback (most recent call last):
  File "C:\Python34\aaaa.py", line 2, in <module>
    from PIL import Image, ImageTk
  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.
3
Contributors
4
Replies
35
Views
3 Years
Discussion Span
Last Post by Gribouillis
0

From the python documentation

>>> import sys
>>> is_64bits = sys.maxsize > 2**32
>>> is_64bits
True # check the answer on your computer

It should perhaps be named is_not_32bits, from a purist point of vue.

Edited by Gribouillis

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.