[julia-users] Re: @pyimport error

2016-06-20 Thread Henri Girard
strange ... It doesn't work on my ubuntu python 2.7
By the way I want to this in julia
y1=odeint(f,[0.01,0],t)
but the python structure is different and it doesn't work, I am reading 
help for this but I haven't found yet an answer

Le lundi 20 juin 2016 15:14:21 UTC+2, Henri Girard a écrit :
>
> when I try scipy I can't get it working ?
>
>
> @pyimport scipy.integrate as integrate
> ERROR: PyError (:PyImport_ImportModule) 
> ImportError('No module named scipy.integrate',)
>
>  [inlined code] from /home/pi/.julia/v0.4/PyCall/src/exception.jl:81
>  in pyimport at /home/pi/.julia/v0.4/PyCall/src/PyCall.jl:341
>
> Any help
>


[julia-users] Re: @pyimport error

2016-06-20 Thread Gabriel Gellner
This should also work with python2 if you have the packages installed (I 
don't have a python 3 install on my machine and the import works).

On Monday, June 20, 2016 at 6:30:36 AM UTC-7, Henri Girard wrote:
>
> Answering : I try with python3 and everything works
>
> Le lundi 20 juin 2016 15:14:21 UTC+2, Henri Girard a écrit :
>>
>> when I try scipy I can't get it working ?
>>
>>
>> @pyimport scipy.integrate as integrate
>> ERROR: PyError (:PyImport_ImportModule) 
>> ImportError('No module named scipy.integrate',)
>>
>>  [inlined code] from /home/pi/.julia/v0.4/PyCall/src/exception.jl:81
>>  in pyimport at /home/pi/.julia/v0.4/PyCall/src/PyCall.jl:341
>>
>> Any help
>>
>

[julia-users] Re: @pyimport error

2016-06-20 Thread Henri Girard
Answering : I try with python3 and everything works

Le lundi 20 juin 2016 15:14:21 UTC+2, Henri Girard a écrit :
>
> when I try scipy I can't get it working ?
>
>
> @pyimport scipy.integrate as integrate
> ERROR: PyError (:PyImport_ImportModule) 
> ImportError('No module named scipy.integrate',)
>
>  [inlined code] from /home/pi/.julia/v0.4/PyCall/src/exception.jl:81
>  in pyimport at /home/pi/.julia/v0.4/PyCall/src/PyCall.jl:341
>
> Any help
>