Karak Posted December 14, 2009 Posted December 14, 2009 Hello, I have a request - could you install Python Imaging Library (PIL)? http://www.pythonware.com/products/pil/#pil116 Or are there any image creating libraries installed for python? I need it for dynamic image creation(like captcha). Thanks
Byron Posted December 14, 2009 Posted December 14, 2009 You'llneed the administrator to install that and he isn't around right now. As far as any python imaging libraries, I couldn't say.
Karak Posted December 15, 2009 Author Posted December 15, 2009 from PythonMagick import * results in error - No module named PythonMagick If you have any working examples of use with heliohost then please post. I tried to google it and it is not very much supported under python, almost everyone is using PIL.
Byron Posted December 15, 2009 Posted December 15, 2009 You can try to install the module yourself at your cpanel or do as Wizard posted. I can show you plenty of examples using the imagick class.
Karak Posted December 16, 2009 Author Posted December 16, 2009 How I can install module myself? Please link to some working python imagick examples. Does that library work on heliohost?
Byron Posted December 16, 2009 Posted December 16, 2009 How I can install module myself? I'm sorry, I was thinking of Perl Modules. We can install those ourselfs. Please link to some working python imagick examples. Does that library work on heliohost? Imagick is a php class of ImageMagick, not Python.
Karak Posted December 17, 2009 Author Posted December 17, 2009 I know of Imagick for PHP, but topic is about Python:) So it seems I need to wait till admin comes back or workaround it somehow.
Ashoat Posted December 28, 2009 Posted December 28, 2009 Is it just a Python library? If so, just try uploading and running it... you should be good. Otherwise, I'd need to know how it functions. Does it have Python call C code?
Karak Posted January 7, 2010 Author Posted January 7, 2010 It is Python library, is does call C code as far as I know and read on its page. I assume i cannot use it if it's not installed. Below are instructions for its installation on Linux - and I don't have shell access and probably would need root access to install it anyway. So please take a look and tell me if you could install it. Is is harmless Python Imaging Library - very usefull - or if you can install any alternative library for dynamic generation of images from Python it would be OK too. "Installing PIL on Linux Use the following command to install PIL on Linux: sudo apt-get install python-imaging" More about installing PIL: http://gausssum.sourceforge.net/DocBook/ch01s03.html
Ashoat Posted January 7, 2010 Posted January 7, 2010 That command doesn't work on RHEL-based Linux installations; only Debian-based ones. RHEL-based distributions use "rpm" or "yum" instead of "apt". I've found an RPM package on yum, though, and installed it. Take a look and see if everything's working.
Recommended Posts