my_logicle_wrapper.cpp
src/core/logicle_ext/my_logicle_wrapper.cpp(788): error C2664: 'int PyBytes_AsStringAndSize(PyObject *,char **,Py_ssize_t *)': cannot convert argument 3 from 'int *' to 'Py_ssize_t *'
src/core/logicle_ext/my_logicle_wrapper.cpp(788): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src/core/logicle_ext/my_logicle_wrapper.cpp(2454): error C3861: 'PyCObject_Import': identifier not found
src/core/logicle_ext/my_logicle_wrapper.cpp(2524): error C3861: 'PyCObject_FromVoidPtr': identifier not found
src/core/logicle_ext/my_logicle_wrapper.cpp(2547): error C3861: 'PyCObject_AsVoidPtr': identifier not found
src/core/logicle_ext/my_logicle_wrapper.cpp(2552): error C3861: 'PyCObject_FromVoidPtr': identifier not found
c:\users\adrian\appdata\roaming\python\python36\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
src/core/logicle_ext/my_logicle_wrapper.cpp(2919): error C3861: 'PyString_Check': identifier not found
src/core/logicle_ext/my_logicle_wrapper.cpp(2925): error C3861: 'PyFile_Check': identifier not found
src/core/logicle_ext/my_logicle_wrapper.cpp(2927): error C3861: 'PyInstance_Check': identifier not found
src/core/logicle_ext/my_logicle_wrapper.cpp(3237): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
src/core/logicle_ext/my_logicle_wrapper.cpp(3244): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
src/core/logicle_ext/my_logicle_wrapper.cpp(3327): warning C4244: '*=': conversion from 'npy_intp' to 'int', possible loss of data
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
命令“ c:\ users \ adrian \ appdata \ local \ programs \ python \ python36 \ python.exe -u -c”导入设置工具,标记化; 文件 ='C:\ Users \ Adrian \ AppData \ Local \ Temp \ pip-install-8ha_ud5c \ fcm \ setup.py'; f = getattr(tokenize,'open',open)( file ); code = f.read( ).replace('\ r \ n','\ n'); f.close(); exec(compile(code, file ,'exec'))“ install --record C: \ Users \ Adrian \ AppData \ Local \ Temp \ pip-record-n1sjsaux \ install-record.txt --single-version-externally-managed --compile“在C:\ Users \ Adrian \ AppData \中失败,错误代码为1本地\ Temp \ pip-install-8ha_ud5c \ fcm \
我当前正在使用64位Windows10。Pythonv3.6.5。 PIP v19.0.2。 Setuptools v40.8.0。和MSVC 14.16.27023
您有什么建议?