Tensorflow can't be import after lib installation

I am using Tensorflow docker.
Inside docker matplotlib is installed using apt-get install python-matplotlib. After installation tensorflow can’t be imported. Before installation was ok.

>>> import tensorflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named tensorflow
>>>