Guest User

install qlib

a guest
Feb 18th, 2021
79
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1. pip install pyqlib with MacBook
  2. >pip install pyqlib --default-timeout=1000 -i https://pypi.tuna.tsinghua.edu.cn/simple
  3. Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
  4. Collecting pyqlib
  5.   ERROR: Could not find a version that satisfies the requirement pyqlib (from versions: none)
  6. ERROR: No matching distribution found for pyqlib
  7.  
  8. 2. python setup.py install with MacBook,Pycharm
  9. >python setup.py install
  10. running install
  11. running bdist_egg
  12. running egg_info
  13. writing pyqlib.egg-info/PKG-INFO
  14. writing dependency_links to pyqlib.egg-info/dependency_links.txt
  15. writing entry points to pyqlib.egg-info/entry_points.txt
  16. writing requirements to pyqlib.egg-info/requires.txt
  17. writing top-level names to pyqlib.egg-info/top_level.txt
  18. reading manifest file 'pyqlib.egg-info/SOURCES.txt'
  19. writing manifest file 'pyqlib.egg-info/SOURCES.txt'
  20. installing library code to build/bdist.macosx-10.7-x86_64/egg
  21. running install_lib
  22. running build_py
  23. running build_ext
  24. skipping 'qlib/data/_libs/rolling.cpp' Cython extension (up-to-date)
  25. skipping 'qlib/data/_libs/expanding.cpp' Cython extension (up-to-date)
  26. building 'qlib.data._libs.rolling' extension
  27. 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
  28. In file included from qlib/data/_libs/rolling.cpp:624:
  29. In file included from //anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  30. In file included from //anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
  31. In file included from //anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:
  32. //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 "
  33.       "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
  34. #warning "Using deprecated NumPy API, disable it with " \
  35.  ^
  36. qlib/data/_libs/rolling.cpp:2492:19: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
  37.   __pyx_t_1 = ((!(isnan(__pyx_v_self->__pyx_base.barv.front()) != 0)) != 0);
  38.                   ^~~~~
  39.                   std::isnan
  40. /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
  41.     isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
  42.     ^
  43. qlib/data/_libs/rolling.cpp:2542:16: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
  44.   __pyx_t_1 = (isnan(__pyx_v_val) != 0);
  45.                ^~~~~
  46.                std::isnan
  47. /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
  48.     isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
  49.     ^
  50. qlib/data/_libs/rolling.cpp:2963:19: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
  51.   __pyx_t_1 = ((!(isnan(__pyx_v__val) != 0)) != 0);
  52.                   ^~~~~
  53.                   std::isnan
  54. /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
  55.     isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
  56.     ^
  57. qlib/data/_libs/rolling.cpp:3022:16: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
  58.   __pyx_t_1 = (isnan(__pyx_v_val) != 0);
  59.                ^~~~~
  60.                std::isnan
  61. /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
  62.     isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
  63.     ^
  64. qlib/data/_libs/rolling.cpp:3492:19: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
  65.   __pyx_t_1 = ((!(isnan(__pyx_v__val) != 0)) != 0);
  66.                   ^~~~~
  67.                   std::isnan
  68. /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
  69.     isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
  70.     ^
  71. qlib/data/_libs/rolling.cpp:3551:16: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
  72.   __pyx_t_1 = (isnan(__pyx_v_val) != 0);
  73.                ^~~~~
  74.                std::isnan
  75. /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
  76.     isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
  77.     ^
  78. qlib/data/_libs/rolling.cpp:4063:19: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
  79.   __pyx_t_1 = ((!(isnan(__pyx_v__val) != 0)) != 0);
  80.                   ^~~~~
  81.                   std::isnan
  82. /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
  83.     isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
  84.     ^
  85. qlib/data/_libs/rolling.cpp:4131:16: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'?
  86.   __pyx_t_1 = (isnan(__pyx_v_val) != 0);
  87.                ^~~~~
  88.                std::isnan
  89. /usr/include/c++/4.2.1/cmath:551:5: note: 'std::isnan' declared here
  90.     isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
  91.     ^
  92. 1 warning and 8 errors generated.
  93. error: command 'gcc' failed with exit status 1
  94.  
RAW Paste Data Copied