Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. pip install pyqlib with MacBook
- >pip install pyqlib --default-timeout=1000 -i https://pypi.tuna.tsinghua.edu.cn/simple
- Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
- Collecting pyqlib
- ERROR: Could not find a version that satisfies the requirement pyqlib (from versions: none)
- ERROR: No matching distribution found for pyqlib
- 2. python setup.py install with MacBook,Pycharm
- >python setup.py install
- running install
- running bdist_egg
- running egg_info
- writing pyqlib.egg-info/PKG-INFO
- writing dependency_links to pyqlib.egg-info/dependency_links.txt
- writing entry points to pyqlib.egg-info/entry_points.txt
- writing requirements to pyqlib.egg-info/requires.txt
- writing top-level names to pyqlib.egg-info/top_level.txt
- reading manifest file 'pyqlib.egg-info/SOURCES.txt'
- writing manifest file 'pyqlib.egg-info/SOURCES.txt'
- installing library code to build/bdist.macosx-10.7-x86_64/egg
- running install_lib
- running build_py
- running build_ext
- skipping 'qlib/data/_libs/rolling.cpp' Cython extension (up-to-date)
- skipping 'qlib/data/_libs/expanding.cpp' Cython extension (up-to-date)
- building 'qlib.data._libs.rolling' extension
- gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda3/include -arch x86_64 -I//anaconda3/include -arch x86_64 -I//anaconda3/lib/python3.7/site-packages/numpy/core/include -I//anaconda3/include/python3.7m -c qlib/data/_libs/rolling.cpp -o build/temp.macosx-10.7-x86_64-3.7/qlib/data/_libs/rolling.o
- In file included from qlib/data/_libs/rolling.cpp:624:
- In file included from //anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
- In file included from //anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
- In file included from //anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:
- //anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "
- "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
- #warning "Using deprecated NumPy API, disable it with " \
- ^
- qlib/data/_libs/rolling.cpp:2492:19: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
- __pyx_t_1 = ((!(isnan(__pyx_v_self->__pyx_base.barv.front()) != 0)) != 0);
- ^~~~~
- std::isnan
- /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
- isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
- ^
- qlib/data/_libs/rolling.cpp:2542:16: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
- __pyx_t_1 = (isnan(__pyx_v_val) != 0);
- ^~~~~
- std::isnan
- /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
- isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
- ^
- qlib/data/_libs/rolling.cpp:2963:19: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
- __pyx_t_1 = ((!(isnan(__pyx_v__val) != 0)) != 0);
- ^~~~~
- std::isnan
- /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
- isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
- ^
- qlib/data/_libs/rolling.cpp:3022:16: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
- __pyx_t_1 = (isnan(__pyx_v_val) != 0);
- ^~~~~
- std::isnan
- /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
- isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
- ^
- qlib/data/_libs/rolling.cpp:3492:19: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
- __pyx_t_1 = ((!(isnan(__pyx_v__val) != 0)) != 0);
- ^~~~~
- std::isnan
- /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
- isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
- ^
- qlib/data/_libs/rolling.cpp:3551:16: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
- __pyx_t_1 = (isnan(__pyx_v_val) != 0);
- ^~~~~
- std::isnan
- /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
- isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
- ^
- qlib/data/_libs/rolling.cpp:4063:19: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
- __pyx_t_1 = ((!(isnan(__pyx_v__val) != 0)) != 0);
- ^~~~~
- std::isnan
- /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
- isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
- ^
- qlib/data/_libs/rolling.cpp:4131:16: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
- __pyx_t_1 = (isnan(__pyx_v_val) != 0);
- ^~~~~
- std::isnan
- /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
- isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
- ^
- 1 warning and 8 errors generated.
- error: command 'gcc' failed with exit status 1
Add Comment
Please, Sign In to add comment