Skip to content Skip to sidebar Skip to footer

The Pil Library Import Fails

Being a complete begginer in python, I decided to install the python interpreter 3.4.4, and also PyDev plugin for eclipse IDE. I am also using windows 10. I have encountered a prob

Solution 1:

Found the solution, here's what I did:

  1. Set the PYTHONPATH like it is shown in this article, make sure python.exe is accessible via cmd,
  2. Via cmd, type pip install pillow. Alternatively, you can enter the same command from Windows+R,
  3. (Not sure if relevant step) Via eclipse, Windows->Preferences->PyDev->PythonInterpreterremove your interpreter to re-add it,
  4. Restart eclipse.

Solution 2:

For Python import problems in PyDev, the project web site has a page on interpreter configuration that is a good place to start. I recently had a similar problem that I solved by adding a module to the forced builtins tab.

Post a Comment for "The Pil Library Import Fails"