weird numpy error

hey I am new to pythonista and was trying to do some 'hello world' type stuff with Numpy. I immediately got an error in the code below:
my code:
import numpy as np print(np.__version__)
the error message is:
Nameerror name 'random_sample' is not defined
so what's wrong? I am confused.

Quit Pythonista and throw it outa memory and then retry. If that does not work, then shutdown your device, reboot, and try again.

thanks for your reply. It works now, and it shows the Numpy version is 1.8.0.
I wonder if there is a way to update Numpy though.

Numpy contains more C code than Python code so only @omz can upgrade Numpy in Pythonista. You might look at the Pyto app that has a newer version of Numpy.