-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pillow tk extension problem on os x #188
Comments
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 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. |
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 (JuliaPy/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: python-pillow/Pillow#950 (comment) |
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)
The text was updated successfully, but these errors were encountered: