Home > OS >  Unable to Install Pillow for Tkinter via PIP
Unable to Install Pillow for Tkinter via PIP

Time:02-06

I tried to install Pillow library for my Tkinter project but when I try to install it, it gives me the following error.

Fatal error in launcher: Unable to create process using "C:\Python310\python.exe" "C:\Python310\Scripts\pip.exe" install Pillow : The system cannot find the file specified.

I have the latest Python version from the official website and I also have pip manually installed during my Win7 days. Even debugging ain't helping. It gives the same error.

CodePudding user response:

are you using "pip" or "conda"?

try

conda install pillow

or

pip install pillow

CodePudding user response:

You need unofficial python binaries version of pillow. Go to this website. Then press F3. then in search box, type pillow. then click on the hyperlink which is highlighted by the browser. then download a wheel according to your os and python version. after download, open cmd in the download folder. to do that press SHIFT RIGHT CLICK and click on Open CMD Here. then on the cmd, type pip3 install <your downloaded file name> It should work. I used this trick for Installing PyAudio in Python 3.10 on Windows 10.
TIP: while typing 3/4 letters of the file name, press TAB to autocomplete

  •  Tags:  
  • Related