wmoore wrote:Hi Philippe,
Are you sure you're still seeing this error:
- Code: Select all
packages/PIL/TiffImagePlugin.py", line 608, in save
if len(data) <= 4:
TypeError: object of type 'int' has no len()
If so, then it seems that you're somehow still running Pillow 3.0 since Pillow 2.9 doesn't have that code at line 608: https://github.com/python-pillow/Pillow ... in.py#L608
Hi Will,
In fact I have 2 different versions of Pillow installed
3.0.0 in
/opt/rh/python27/root/usr/lib64/python2.7/site-packages/Pillow-3.0.0-py2.7.egg-info
2.9.0 in
/usr/local/lib/python2.7/site-packages/Pillow-2.9.0-py2.7.egg-info
If I try to remove Pillow from root it remove the 2.9.0.
And if I do again :
- Code: Select all
Cannot uninstall requirement Pillow, not installed
If I do the same thing as omero user it try to remove the 3.0.0 but
- Code: Select all
Exception:
Traceback (most recent call last):
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/pip/commands/uninstall.py", line 76, in run
requirement_set.uninstall(auto_confirm=options.yes)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 336, in uninstall
req.uninstall(auto_confirm=auto_confirm)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 742, in uninstall
paths_to_remove.remove(auto_confirm)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/pip/utils/__init__.py", line 267, in renames
shutil.move(old, new)
File "/opt/rh/python27/root/usr/lib64/python2.7/shutil.py", line 302, in move
os.unlink(src)
OSError: [Errno 13] Permission non accordée: '/opt/rh/python27/root/usr/bin/createfontdatachunk.py'
Philippe