title: How do I import sklearn on python 3.5.0 without a Type error?
body: <p>I installed the prerequisites to install sklearn via this page: <a href="https://scikit-learn.org/stable/install.html" rel="nofollow noreferrer">https://scikit-learn.org/stable/install.html</a> and everything installed fine. However, when I attempt to import sklearn I receive the error (below).  Any ideas?</p>
  <p><strong>Install:</strong></p>
  <pre><code># pip3 install -U scikit-learn[alldeps]==0.22
  Looking in indexes: http://devpi.na-pytools.tds.local/na/dev/+simple/
  Requirement already up-to-date: scikit-learn[alldeps]==0.22 in /usr/local/lib/python3.5/site-packages (0.22)
  Requirement already satisfied, skipping upgrade: scipy&gt;=0.17.0 in /usr/local/lib/python3.5/site-packages (from scikit-learn[alldeps]==0.22) (1.4.1)
  Requirement already satisfied, skipping upgrade: joblib&gt;=0.11 in /usr/local/lib/python3.5/site-packages (from scikit-learn[alldeps]==0.22) (0.14.0)
  Requirement already satisfied, skipping upgrade: numpy&gt;=1.11.0 in /usr/local/lib/python3.5/site-packages (from scikit-learn[alldeps]==0.22) (1.18.1)
  </code></pre>
  <p><strong>Error:</strong></p>
  <pre><code>Python 3.5.0 (default, Nov 19 2015, 10:11:12)
  [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux
  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
  &gt;&gt;&gt; import sklearn
  Traceback (most recent call last):
    File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
    File &quot;/usr/local/lib/python3.5/site-packages/sklearn/__init__.py&quot;, line 74, in &lt;module&gt;
      from .base import clone
    File &quot;/usr/local/lib/python3.5/site-packages/sklearn/base.py&quot;, line 20, in &lt;module&gt;
      from .utils import _IS_32BIT
    File &quot;/usr/local/lib/python3.5/site-packages/sklearn/utils/__init__.py&quot;, line 18, in &lt;module&gt;
      from scipy.sparse import issparse
    File &quot;/usr/local/lib/python3.5/site-packages/scipy/__init__.py&quot;, line 156, in &lt;module&gt;
      from . import fft
    File &quot;/usr/local/lib/python3.5/site-packages/scipy/fft/__init__.py&quot;, line 76, in &lt;module&gt;
      from ._basic import (
    File &quot;/usr/local/lib/python3.5/site-packages/scipy/fft/_basic.py&quot;, line 1, in &lt;module&gt;
      from scipy._lib.uarray import generate_multimethod, Dispatchable
    File &quot;/usr/local/lib/python3.5/site-packages/scipy/_lib/uarray.py&quot;, line 27, in &lt;module&gt;
      from ._uarray import *
    File &quot;/usr/local/lib/python3.5/site-packages/scipy/_lib/_uarray/__init__.py&quot;, line 114, in &lt;module&gt;
      from ._backend import *
    File &quot;/usr/local/lib/python3.5/site-packages/scipy/_lib/_uarray/_backend.py&quot;, line 1, in &lt;module&gt;
      from typing import (
  ImportError: cannot import name 'Type'
  </code></pre>