I am writing a python script that uses PIL library to resize an image.
Is it possible to see whether the user already has PIL installed on his machine, and if not, install it automatically (ask for admin password if needed)?
I am writing a python script that uses PIL library to resize an image.
Is it possible to see whether the user already has PIL installed on his machine, and if not, install it automatically (ask for admin password if needed)?
Install pip
by running this setup script, then install Pillow a subset of PIL:
pip install Pillow