title: Error linspace() got an unexpected keyword argument 'dtype' only in windows
body: <p>I have a script that I run on Red Hat 4.4.7 with success:</p>
  
  <pre><code>&gt;&gt;&gt; import numpy
  &gt;&gt;&gt; numpy.version.version
  '1.9.1'
  &gt;&gt;&gt; numpy.linspace(3,4,5,dtype=int)
  array([3, 3, 3, 3, 4])
  </code></pre>
  
  <p>While on my windows installation, even after updating numpy (pip install -U numpy), I get an error:</p>
  
  <pre><code>In[3]: import numpy
  In[4]: numpy.version.version
  Out[4]: '1.9.1'
  In[5]: numpy.linspace(3,4,5,dtype=int)
  Traceback (most recent call last):
  File "C:\Users\lb\AppData\Local\Enthought\Canopy\User\lib\site-packages\IPython\core\interactiveshell.py", line 2883, in run_code
  exec(code_obj, self.user_global_ns, self.user_ns)
  File "&lt;ipython-input-5-cce2ab26cfad&gt;", line 1, in &lt;module&gt;
  numpy.linspace(3,4,5,dtype=int)
  TypeError: linspace() got an unexpected keyword argument 'dtype'
  </code></pre>
  
  <p>Why this different behaviour? What else should I check beyond numpy version?</p>
  
  <p>EDIT:</p>
  
  <pre><code>print(repr(numpy.core.function_base))
  &lt;module 'numpy.core.function_base' from 'C:\Users\lb\AppData\Local\Enthought\Canopy\User\lib\site-packages\numpy\core\function_base.pyc'&gt;
  
  print(repr(numpy.__path__))
  ['C:\\Users\\lb\\AppData\\Local\\Enthought\\Canopy\\User\\lib\\site-packages\\numpy']
  
  print(numpy.linspace.__module__)
  numpy.core.function_base
  </code></pre>
  
  <p>At line 8 of C:\Users\lb\AppData\Local\Enthought\Canopy\User\Lib\site-packages\numpy\core\function_base.py I have:</p>
  
  <pre><code>def linspace(start, stop, num=50, endpoint=True, retstep=False):
  </code></pre>
  
  <p>So, I guess I messed up with the pip update...</p>