title: Raise TypeError (TypeError: object of type <class 'numpy.float64'> cannot be safely interpreted as an integer)
body: <p>I am using a package that needs NumPy. Until now it was working fine. But today, because of extending my code I needed the newest version of NumPy. The old version was 17.something and I installed the latest version. After that I am facing the below mentioned issue <a href="https://github.com/numpy/numpy/issues/15345#issue-551771795" rel="nofollow noreferrer">The detailed link of the question on Github</a></p>
  
  <pre><code> File "C:\Users\AppData\Local\Programs\Python\Python38-32\lib\site-packages\numpy\core\function_base.py", line 119, in linspace
    raise TypeError(
  TypeError: object of type &lt;class 'numpy.float64'&gt; cannot be safely interpreted as an integer.
  </code></pre>