I opened an issue in https://github.com/stevengj/PyPlot.jl and @stevengj
helped me to figure out the problem.
When I installed Python, numpy, and matplotlib, I forgot that I would also
need to install the -devel packages.
Otherwise the headers files will be missing and PyCall would not be able to
call numpy to convert the arrays.
After the installation of the following packages:
_ python-devel
_ python-numpy-devel
Everything started to work properly.
Thanks,
Ronan
Em terça-feira, 14 de abril de 2015 15:36:49 UTC-3, Kaj Wiik escreveu:
>
> Works fine with
>
> Julia Version 0.3.7 (Ubuntu)
> PyPlot 1.5.1
>
> python-matplotlib 1.3.1-1ubuntu5
> Python 2.7.6
>
> Kaj
>
> On Tuesday, April 14, 2015 at 5:51:13 PM UTC+3, Ronan Chagas wrote:
>>
>> Hi Tim,
>>
>> I still have the same problem.
>> Can you please tell me what versions of python / matplotlib are you using?
>>
>> I'm using:
>>
>> Python = 2.7.8
>> matplotlib = 1.4.0
>>
>> Thanks,
>> Ronan
>>
>> Em segunda-feira, 13 de abril de 2015 13:12:12 UTC-3, Tim Wheeler
>> escreveu:
>>>
>>> The same code works fine on my machine.
>>> Maybe try running Pkg.update()?
>>>
>>