--- Window 7 - 32 bit, NVIDIA GeForce GT 520 ---
--- tried in 2.65, 2.66, 2.67 (32 bit version) ---
--- I've used a python external library to save printscreen from clipboard. and in the line that it saves. it crashes. ---
--- 1. download the PIL library from herehttp://www.lfd.uci.edu/~gohlke/pythonlibs/#pil
2. run this script in blender: http://www.pasteall.org/42079
something that might be related, when I runned the blender in cmd with -d,
it said that it is a 64-bit build, though it is a 32-bit version
(and I'm sure that I downloaded 32-bit version), it said it in all 3 versions(2.65, 266, 2.67). ---
Thanks :)
Description
Event Timeline
oh, I forgot about it,
but before level 2
You'll have to press printscreen in your keyboard.
I know we talked the other night on irc. I got to thinking about it. you wouldn't get part way through the script if it was a 32/64 bit issue(at least not with python). I can't vouch for the build of PIL your using.
by "can't vouch" you mean that the link is broken?
if so:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil
How's about this link?
Did you download the package matching the Blender python version (for 2.67 that's python 3.3)?
Do you have python installed separately from Blender and which version(s)?
What's the value of the PYTHONPATH environment variable?
Yes, I have 3.3 python.
yes, 2.5, 2.7, 3.3
http://www.pasteall.org/42110
That's the python path in blender.
but as you can see in the code, I've added this:
sys.path.append("C:/Python33/Lib/site-packages")
thanks
I cant test this, even after installing `Pillow`, I get the error
File "/usr/lib/python3.3/site-packages/Pillow-2.0.0-py3.3-linux-x86_64.egg/PIL/ImageGrab.py", line 34, in <module>
import _grabscreen
ImportError: No module named '_grabscreen'
Error: Python script fail, look in the console for now...
Tested on Linux.
Since this isn't using any Blender API's, this seems like some incompatibility or a bug in pillow, neither problems with blender.
rejecting.