Closed ddale closed 9 years ago
Sorry for the apparent mess of commits. There was some confusion, branching off my fork's master rather than conda's. Apparently github is caching info about commits that don't exist anymore.
Hi, I'm experiencing the same error message on OSX. I installed the latest official anaconda, created conda environment and installed pillow in it, with "conda install pillow". The version of the installed pillow is 2.7.0. Is there any way I could get around this issue?
UPDATE: I managed to get around this issue by building the 2.6.1 version, uploading it to my binstar, and then installing that specific version with "conda install pillow=2.6.1". Anyways, this thread was very helpful. Thanks very much.
I have the same issue but I'm not too familiar with conda but when I use the command conda install pillow=2.6.1
there are no packages found that match that. Is there a way to manually fix this setup.py and if so, how do I actually install it? As of now I installed pillow using conda install pillow
and this gave me pillow 2.8.2 and I have the same issue. Specifically,
objc[87311]: Class TKApplication is implemented in both /Users/anandsampat/anaconda/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[87311]: Class TKMenu is implemented in both /Users/anandsampat/anaconda/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[87311]: Class TKContentView is implemented in both /Users/anandsampat/anaconda/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[87311]: Class TKWindow is implemented in both /Users/anandsampat/anaconda/lib/libtk8.5.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
[1] 87311 segmentation fault python cleanup.py
I'm experiencing this issue. conda install pillow
is pulling pillow: 3.1.1-py35_0 defaults, which is producing the same error.
Could this issue be re-opened, or should I make a new issue?
I am having the same issue. Python 3.5.1, Anaconda 4.0.5, OS X.
Same deal... Can you fix this?
This is not just an issue for pillow; we're seeing the same issue in using a miniconda Matplotlib with the Tk backend on OS X from Julia (stevengj/PyPlot.jl#164).
And the same issue appears for Python matplotlib users with the Tk backend: http://stackoverflow.com/questions/31998271/matplotlib-cant-work-in-os-x-with-error-tkapplication-is-implemented-in-both
A workaround is just to use a different Matplotlib backend, but it would be good to fix the anaconda Tk library conflict.
This is the fix that worked for me: https://github.com/python-pillow/Pillow/issues/950#issuecomment-292223310
Pillow's default setup.py builds an _imagingtk extension that is not compatible with the anaconda environment, because it links with the system tk framework:
This simple patch allows pillow to find the tcl/tk provided by anaconda and fixes the problem:
(Please also note issue #185)