Re: [sage-devel] Re: error accessing np.random?

2017-08-03 Thread mforets
thanks for your replies. i've opened: https://trac.sagemath.org/ticket/23579 El jueves, 3 de agosto de 2017, 16:14:30 (UTC+2), Dima Pasechnik escribió: > > > > On Thursday, August 3, 2017 at 2:56:15 PM UTC+1, vdelecroix wrote: >> >> Does *not* work in console for me (on sage 8.1.beta0). But does

Re: [sage-devel] Re: error accessing np.random?

2017-08-03 Thread Dima Pasechnik
On Thursday, August 3, 2017 at 2:56:15 PM UTC+1, vdelecroix wrote: > > Does *not* work in console for me (on sage 8.1.beta0). But does in Ipython > > $ sage -ipython > In [1]: import numpy as np > > In [2]: np.random? > moreover, if works if one does from sage.all import * first, so the pr

Re: [sage-devel] Re: error accessing np.random?

2017-08-03 Thread Vincent Delecroix
Does *not* work in console for me (on sage 8.1.beta0). But does in Ipython $ sage -ipython In [1]: import numpy as np In [2]: np.random? On 03/08/2017 14:52, Dima Pasechnik wrote: by the way, this works (on console): sage: sage: import numpy as np sage: np.random.random? Docstring: ... So

[sage-devel] Re: error accessing np.random?

2017-08-03 Thread Dima Pasechnik
by the way, this works (on console): sage: sage: import numpy as np sage: np.random.random? Docstring: ... So this looks like some ipython/Sage-related thing... On Thursday, August 3, 2017 at 1:33:27 PM UTC+1, Eric Gourgoulhon wrote: > > > > Le jeudi 3 août 2017 14:18:46 UTC+2, mforets a écrit

[sage-devel] Re: error accessing np.random?

2017-08-03 Thread Eric Gourgoulhon
Le jeudi 3 août 2017 14:18:46 UTC+2, mforets a écrit : > > could someone confirm the error? > I confirm. > is it an error on NumPy's or Sage's side? Thanks. > Maybe on Sage's side: if you run the same thing in a python 2 kernel from sage -n jupyter, you don't get the error. Best wish