请问各位资深玩家,谁能在dsm中顺利安装上ta-lib?
由于需要计算大量的数据,ta-lib插件少不了,但是我尝试在dsm6.1.7-15284中安装ta-lib,死活安装不上有没有人成功的安上过这个插件,求教该怎样才能安装上
我需要python3环境下调用,先装了群晖套件里自带的python3,然后装easy install之类的,装完pip以后全部使用python3 -m pip install XXXXX命令安装的
到了talib就死活装不上去,套件中加装了ipkgui,打开安装了gcc也还是装不上talib
到底是什么原因造成的?
以下是报错信息
ash-4.3# python3 -m pip install ta-lib
Collecting ta-lib
Using cached https://files.pythonhosted.org/packages/90/05/d4c6a778d7a7de0be366bc4a850b4ffaeac2abad927f95fa8ba6f355a082/TA-Lib-0.4.17.tar.gz
Requirement already satisfied: numpy in /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages (from ta-lib) (1.17.2)
Building wheels for collected packages: ta-lib
Building wheel for ta-lib (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/tmp/pip-install-22hxjr54/ta-lib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-22hxjr54/ta-lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-bu79ecip --python-tag cp35
cwd: /tmp/pip-install-22hxjr54/ta-lib/
Complete output (24 lines):
/tmp/pip-install-22hxjr54/ta-lib/setup.py:79: UserWarning: Cannot find ta-lib library, installation may fail.
warnings.warn('Cannot find ta-lib library, installation may fail.')
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/talib
copying talib/test_stream.py -> build/lib.linux-x86_64-3.5/talib
copying talib/test_func.py -> build/lib.linux-x86_64-3.5/talib
copying talib/test_data.py -> build/lib.linux-x86_64-3.5/talib
copying talib/test_pandas.py -> build/lib.linux-x86_64-3.5/talib
copying talib/stream.py -> build/lib.linux-x86_64-3.5/talib
copying talib/__init__.py -> build/lib.linux-x86_64-3.5/talib
copying talib/deprecated.py -> build/lib.linux-x86_64-3.5/talib
copying talib/test_abstract.py -> build/lib.linux-x86_64-3.5/talib
copying talib/abstract.py -> build/lib.linux-x86_64-3.5/talib
running build_ext
building 'talib._ta_lib' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/talib
/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DSYNO_FIX_FLAG_BUG -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -DSYNOPLAT_F_X86_64 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_VER_MIN_REQUIRED=600 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -I/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/numpy/core/include -I/usr/include -I/usr/local/include -I/opt/include -I/opt/local/include -I/volume1/@appstore/py3k/usr/local/include/python3.5m -c talib/_ta_lib.c -o build/temp.linux-x86_64-3.5/talib/_ta_lib.o
unable to execute '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc': No such file or directory
error: command '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for ta-lib
Running setup.py clean for ta-lib
Failed to build ta-lib
Installing collected packages: ta-lib
Running setup.py install for ta-lib ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/tmp/pip-install-22hxjr54/ta-lib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-22hxjr54/ta-lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-882k73va/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-22hxjr54/ta-lib/
Complete output (24 lines):
/tmp/pip-install-22hxjr54/ta-lib/setup.py:79: UserWarning: Cannot find ta-lib library, installation may fail.
warnings.warn('Cannot find ta-lib library, installation may fail.')
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/talib
copying talib/test_stream.py -> build/lib.linux-x86_64-3.5/talib
copying talib/test_func.py -> build/lib.linux-x86_64-3.5/talib
copying talib/test_data.py -> build/lib.linux-x86_64-3.5/talib
copying talib/test_pandas.py -> build/lib.linux-x86_64-3.5/talib
copying talib/stream.py -> build/lib.linux-x86_64-3.5/talib
copying talib/__init__.py -> build/lib.linux-x86_64-3.5/talib
copying talib/deprecated.py -> build/lib.linux-x86_64-3.5/talib
copying talib/test_abstract.py -> build/lib.linux-x86_64-3.5/talib
copying talib/abstract.py -> build/lib.linux-x86_64-3.5/talib
running build_ext
building 'talib._ta_lib' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/talib
/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DSYNO_FIX_FLAG_BUG -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -DSYNOPLAT_F_X86_64 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_VER_MIN_REQUIRED=600 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -I/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/numpy/core/include -I/usr/include -I/usr/local/include -I/opt/include -I/opt/local/include -I/volume1/@appstore/py3k/usr/local/include/python3.5m -c talib/_ta_lib.c -o build/temp.linux-x86_64-3.5/talib/_ta_lib.o
unable to execute '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc': No such file or directory
error: command '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/tmp/pip-install-22hxjr54/ta-lib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-22hxjr54/ta-lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-882k73va/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
ash-4.3#
多谢分享,支持下载 没人知道怎么装嘛?
页:
[1]