Are you able to import any of the following from python?
from matplotlib.backends import backend_wxagg
from matplotlib.backends import backend_gtkagg
from matplotlib.backends import backend_qtagg
-Jake
On Friday, January 24, 2014 12:35:12 PM UTC-5, Rajn wrote:
>
> Hi Thanks Steve,
>
> This is how far I got after making the following changes:
> changed PYTHONPATH to C:\Python27
>
> and in PyCall.jl
> ENV["PYTHONHOME"]=exec_prefix
>
> using PyCall gives me this error now
>
>
> julia> using PyPlot
> WARNING: No working GUI backend found for matplotlib.
> ERROR: PyError (PyImport_ImportModule) <type 'exceptions.ImportError'>
> ImportError('DLL load failed: The specified module could not be found.',)
> File "C:\Python27\lib\site-packages\matplotlib\pyplot.py", line 23, in
> <module
> >
> from matplotlib.figure import Figure, figaspect
> File "C:\Python27\lib\site-packages\matplotlib\figure.py", line 16, in
> <module
> >
> import artist
> File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 6, in
> <module>
>
> from transforms import Bbox, IdentityTransform, TransformedBbox,
> Transformed
> Path
> File "C:\Python27\lib\site-packages\matplotlib\transforms.py", line 34,
> in <mo
> dule>
> from matplotlib._path import affine_transform
>
> at C:\Users\RGurjar\.julia\PyPlot\src\PyPlot.jl:94
>
> Do you think I am a step closer or just take your suggestion and move on
> to Anaconda. Do I have to uninstall Enthought edition?
>
>
>
> On Thursday, January 23, 2014 6:38:08 PM UTC-5, Steven G. Johnson wrote:
>>
>> On Thursday, January 23, 2014 3:30:00 PM UTC-5, Rajn wrote:
>>>
>>> I will appreciate some help here. And also I have only one python
>>> installation which is the Enthought edition.
>>> Also a related question, if I change something in *.jl such as what I
>>> changed above, I read that I have do reverse git. I have no idea what that
>>> is.
>>> Really I am quite fresh to this. So please can someone guide me here?
>>>
>>
>> PyCall doesn't work with Enthought Python:
>>
>> https://github.com/stevengj/PyCall.jl/issues/42
>>
>> Last I checked, it was because their sysutils.distconfig is completely
>> broken, and I hadn't found a clean workaround. I recommend Anaconda Python
>> if you want a prepackaged Python distro.
>>
>