Ошибка при установке программного обеспечения python из git -hub - PullRequest
0 голосов
/ 19 апреля 2020
/home/ritika/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it with " \
  ^~~~~~~
sklearn/svm/libsvm.c: In function ‘__Pyx_GetException’:
sklearn/svm/libsvm.c:10680:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
     tmp_type = tstate->exc_type;
                        ^~~~~~~~
                        curexc_type
sklearn/svm/libsvm.c:10681:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
     tmp_value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value

Я установил - sudo apt-get install libpq-dev python -dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev

...