Search code examples
pythonpippython-imaging-librarypyscripter

Errors when trying to install PIL with pip as well as pyscripter errors


I have installed pip and got a correctly functioning virtual environment (I think). I am trying to now install PIL. When I try and install it, this is the error:

C:\Users\CharlesP>python -m pip install python-imaging
Downloading/unpacking python-imaging
  Could not find any downloads that satisfy the requirement python-imaging
Cleaning up...
No distributions at all found for python-imaging
Storing debug log for failure in C:\Users\CharlesP\pip\pip.log

I have no idea why this is happening. I have also installed pillow, and it says it was installed properly, but I get an error when trying to use the pillow module in PyScripter for the latest version it says that there is no such module.


Solution

  • This might help:

    pip install PIL --allow-external PIL --allow-unverified PIL
    

    However, you may consider using Pillow instead, this shouldn't create these kind of problems:

    link