ERROR: Failed building wheel for Pillow
See original GitHub issueFailled to build pillow on a virtualenv.
Get a really long error message ending with:
ERROR: Command errored out with exit status 1: venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3nw04j89/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-3nw04j89/Pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-d2gme0ys/install-record.txt --single-version-externally-managed --compile --install-headers venv/include/site/python3.7/Pillow Check the logs for full command output.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
Top Results From Across the Web
Failed building wheel for pillow - python 2.7 - Stack Overflow
The problem I ran into was python module Pillow version 3.7 failing to compile during python -m pip install Pillow . The headers...
Read more >[Fixed] "Failed building wheel for Pillow" in Python - CSEStack
I come across this error “Failed building wheel for Pillow” while setting up the Python Django project. I have executed these commands on...
Read more >[Solved] Failed building wheel for Pillow error in Python
The error "Failed building wheel for Pillow" is sometimes caused when the package you are trying to install doesn't have available wheels for...
Read more >ERROR: Can't roll back Pillow; was not uninstalled - Odoo
txt file using pip3 results in the following error. Building wheels for collected packages: Pillow, psycopg2. Building wheel for Pillow (setup.
Read more >解决安装Failed building wheel for pillow_爱吃章鱼的怪兽的博客
解决安装Failed building wheel for pillow · 在安装python库时出现了这个错误 · 问题原因:安装程序无法自动执行bulid pillow的脚本 · 解决方案:从linux ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I solved this by explicitly deleting the version numbering inside of the
requirements.txt
file That way pip fetched the latestpillow
version so if forexample you had …pillow==7.0.2
change it to …pillow
then save the file and rerun the
pip install -r requirements.txt
line and it shd workSolved by making sure every Pillow external library are installed. See the list here https://pillow.readthedocs.io/en/latest/installation.html Then remplaced
Pillow==6.2.0
(latest version) in requirements.txt and it worked