Ok, a Pkg.update() made :tk backend work, but still only with 
PYTHON=python2.7

And I'm sure that the tkAgg backend works in python3. I can import tkinter 
in all my pythons, but in Julia pyimport("tkinter") tells me:

ERROR: PyError (PyImport_ImportModule) <class 'ValueError'>
ValueError('character U+7273752f is not in range [U+0000; U+10ffff]',)
  File "/usr/lib64/python3.3/tkinter/__init__.py", line 40, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk

 in pyerr_check at /root/.julia/v0.4/PyCall/src/exception.jl:58
 in pyimport at /root/.julia/v0.4/PyCall/src/PyCall.jl:85








On Thursday, December 4, 2014 4:06:47 AM UTC+1, Steven G. Johnson wrote:
>
>
>
> On Wednesday, December 3, 2014 7:28:05 PM UTC-5, thr wrote:
>
>> Backend TkAgg works with both pythons, but TkAgg doesn't seem to work 
>> with PyPlot. This is what I set in my matplotlibrc, which seems to be 
>> ignored by PyPlot.
>> Backend gtkAgg works with Python2.7 and PyPlot, but NOT with python3.
>>
>
> That's odd; TkAgg works on my machine, and PyPlot nowadays should honor 
> your matplotlibrc if it can.   Can you try to do Pkg.update() to see if 
> your packages are out of date?  If that fails, please file a PyPlot issue.
>
> (The fact that gtk and wx don't work interactively even in Python probably 
> means something is broken in your Python setup, which is a little worrying.)
>

Reply via email to