File tree 1 file changed +0
-12
lines changed
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -26,18 +26,6 @@ def cythonize_extensions(top_path, config):
26
26
"""Check that a recent Cython is available and cythonize extensions"""
27
27
with_openmp = check_openmp_support ()
28
28
29
- # Could be due to a too old pip version and build isolation, check that
30
- try :
31
- # Note, pip may not be installed or not have been used
32
- import pip
33
- if LooseVersion (pip .__version__ ) < LooseVersion ('18.0.0' ):
34
- raise RuntimeError ("Cannot cythonize, possibly due "
35
- "to `pip` being too old, found version {}, "
36
- "needed is >= 18.0.0." .format (
37
- pip .__version__ ))
38
- except ImportError :
39
- raise RuntimeError ("pip not installed!" )
40
-
41
29
message = ('Please install cython with a version >= {0} in order '
42
30
'to build a scikit-learn from source.' ).format (
43
31
CYTHON_MIN_VERSION )
You can’t perform that action at this time.
0 commit comments