Open cio928 opened 5 years ago
Did you try replacing:
im = Image.open('test.webp')
with:
im = Image.open('X:\absolute\path\to\test.webp')
Did you try replacing:
im = Image.open('test.webp') with: im = Image.open(r'X:\absolute\path\to\test.webp')
Yes, it got the same error.
I am having the same error with Pillow 5.4.1
Same issue Pillow 6.2.0
Same issue Pillow 5.4.1 I installed libwebp 1.0.2 but no help
temperally solution: by using webp library pip install webp api is here:https://pypi.org/project/webp/
I can't install webp on windows. Many errors.
@amazingboybrian It is Github. Post these errors, or you'll achieve nothing.
Anyway, pip install --upgrade Pillow
works for me.
uninstalling pillow
installed using conda
and re-installing using pip
works
Hi, English isn't my first language so if I didn't explain myself clearly feel free to ask question.
I'm pretty new with Anaconda and I'm wondering if there's a solution to make it work now as of the 28th of September 2020. It still seems that this problem still occurs with anaconda's python (still can't interact with .webp files) Any updates on the topic as it still is opened?
I did some research but can't seem to find any fixes links :
uninstalling
pillow
installed usingconda
and re-installing usingpip
works
Thank you very much!!!
For your solution
uninstalling pillow installed using conda and re-installing using pip works
@ajaanbaahu
@doc200
This solution seems to require me to uninstall 160 packages. Am I missing something?
Using pip install webp
in conda worked for me....
pip install --upgrade Pillow
Thanks, Worked just fine for me.
uninstalling pillow installed using conda and re-installing using pip works
@ajaanbaahu
@doc200
This solution seems to require me to uninstall 160 packages. Am I missing something?
You can "switch" the Pillow installation from conda to pip by doing pip install --upgrade --force Pillow
, then you don't have to uninstall packages. This solved the issue for me.
Will, I solution this error. Using pip uninstall pillow
to uninstall and pip install pillow --user
to re-install this package, I guesses, current user has insufficient permissions to invoke dependencies, so, need to re-install then.
uninstall
Thanks.
Actual Behavior
I have written a small code to open webp image in the Anaconda prompt.
It causes the following error:
Expected Behavior
The same code works fine in python-3.7.2-amd64 installed in another directory with Pillow 5.4.1.
Steps to Reproduce
The above code causes the same error in Anaconda prompt, Spyder and Jupyter Notebook. Still the same error even after reinstallation the Anaconda or trying on the different PC.
Anaconda or Miniconda version:
Anaconda 2018.12 for Windows Installer Python 3.7 version 64-Bit Graphical Installer Anaconda3-2018.12-Windows-x86_64.exe
Operating System:
Windows 10 Professional 64-Bit
conda info
conda list --show-channel-urls