title: AttributeError: module 'numpy' has no attribute 'matlib'
body: <p>I recently started coding in Python. In the beginning of my scripts I always have the following import: <code>import numpy as np</code>.</p>
  
  <p>In one of my scripts, I use <code>np.matlib.repmat</code> function. It used to work ok, however recently it fails to run showing the following error:</p>
  
  <pre><code> AttributeError: module 'numpy' has no attribute 'matlib'
  </code></pre>
  
  <p>I searched SO for this problem, and it looks like the error like this arises if one has a script called numpy.py in his working directory or if the installed version is different and does not contain the called module.</p>
  
  <p>I didn't name any file numpy.py. I also found out that after I call:</p>
  
  <pre><code> from numpy import matlib as mb
  </code></pre>
  
  <p>I can use <code>mb.repmat</code>. Therefore, my numpy module does contain <code>matlib</code> module.
  Can someone hint me, why I cannot call <code>np.matlib</code>?</p>