Когда я хочу импортировать sklearn.model_selection, я получаю эту ошибку:
17 from ._split import check_cv
18
---> 19 from ._validation import cross_val_score
20 from ._validation import cross_val_predict
21 from ._validation import cross_validate
/usr/local/lib/python3.6/dist-packages/sklearn/model_selection/_validation.py in <module>
29 from ..utils._joblib import logger
30 from ..externals.six.moves import zip
---> 31 from ..metrics.scorer import check_scoring, _check_multimetric_scoring
32 from ..exceptions import FitFailedWarning
33 from ._split import check_cv
/usr/local/lib/python3.6/dist-packages/sklearn/metrics/__init__.py in <module>
5
6
----> 7 from .ranking import auc
8 from .ranking import average_precision_score
9 from .ranking import coverage_error
/usr/local/lib/python3.6/dist-packages/sklearn/metrics/ranking.py in <module>
25 import numpy as np
26 from scipy.sparse import csr_matrix
---> 27 from scipy.stats import rankdata
28
29 from ..utils import assert_all_finite
/usr/local/lib/python3.6/dist-packages/scipy/stats/__init__.py in <module>
343 from .stats import *
344 from .distributions import *
--> 345 from .morestats import *
346 from ._binned_statistic import *
347 from .kde import gaussian_kde
/usr/local/lib/python3.6/dist-packages/scipy/stats/morestats.py in <module>
10 sqrt, ceil, floor, array, compress,
11 pi, exp, ravel, count_nonzero, sin, cos, arctan2, hypot)
---> 12 from numpy.testing.decorators import setastest
13
14 from scipy._lib.six import string_types
ModuleNotFoundError: No module named 'numpy.testing.decorators'
numpy версия: 1.18.3, версия sklearn: 0.20.0, python версия: 3.6.8
Я хочу запустить свой код на сервере, и у меня нет прав администратора для переустановки python или sklearn.