-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Error trying to build image #433
Comments
Hey @rd-mg It is very difficult to replicate. This process works almost always.. are u in Linux? if yes, which distro ? |
yes, I am in Linux, I tried in my local (Manjaro) and remote (Ubuntu)
…On Fri, Jun 25, 2021, 11:14 AM Eduardo Zarate ***@***.***> wrote:
Hey @rd-mg <https://github.com/rd-mg>
It is very difficult to replicate. This process works almost always.. are
u in Linux? if yes, which distro ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#433 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJMEYOUHFXHU2AVB5W6WT2DTUSMMJANCNFSM47IISVVA>
.
|
Hello @laliux Here let you more details, hope it helps In my local machine: NAME="Manjaro Linux" Docker version 20.10.7, build f0df35096d In the remote server NAME="Ubuntu" Docker version 20.10.6, build 370c289 |
Describe the bug
Error trying to build docker image while building TA-lib
To Reproduce
Steps to reproduce the behavior:
Clone this repo git clone
Enter to cripto-signal folder cd crypto-signal
Switch to develop branch git checkout develop
Create a config.yml file and put it into "app" folder.
Buildyour own Docker image
Expected behavior
Image built
Additional context
CLI ERROR LOG
Collecting attrs>=17.3.0
Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting cffi>=1.12
Downloading cffi-1.14.5-cp38-cp38-manylinux1_x86_64.whl (411 kB)
Collecting pycparser
Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: twilio, python-json-logger, TA-lib, slackweb, webcord, tulipy
Building wheel for twilio (setup.py): started
Building wheel for twilio (setup.py): finished with status 'done'
Created wheel for twilio: filename=twilio-6.60.0-py2.py3-none-any.whl size=1272036 sha256=09ef6e8196ebfb13cdbe1ec4b6b46ba5d9692eb0beb77d280e6df96ddeb066e3
Stored in directory: /root/.cache/pip/wheels/34/38/f2/a6a656ad96b88f51a28edb65c96fbe80815f03b3ad3bb93d32
Building wheel for python-json-logger (setup.py): started
Building wheel for python-json-logger (setup.py): finished with status 'done'
Created wheel for python-json-logger: filename=python_json_logger-2.0.1-py34-none-any.whl size=7386 sha256=4113837fb2c0743cf2db21e7d2183d6b4a8f67d19817feee5b2d2f048bcba1bb
Stored in directory: /root/.cache/pip/wheels/17/25/e2/bc6585122b6e1b5b2bce42a9756143e0d85c317874abb5623e
Building wheel for TA-lib (setup.py): started
Building wheel for TA-lib (setup.py): still running...
Building wheel for TA-lib (setup.py): finished with status 'error'
Running setup.py clean for TA-lib
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3msed_e7/ta-lib_de8dd43e67fc49aa830070a6b8733248/setup.py'"'"'; file='"'"'/tmp/pip-install-3msed_e7/ta-lib_de8dd43e67fc49aa830070a6b8733248/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-wjjitt2v
cwd: /tmp/pip-install-3msed_e7/ta-lib_de8dd43e67fc49aa830070a6b8733248/
Complete output (71 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/talib
copying talib/test_abstract.py -> build/lib.linux-x86_64-3.8/talib
copying talib/test_stream.py -> build/lib.linux-x86_64-3.8/talib
copying talib/test_func.py -> build/lib.linux-x86_64-3.8/talib
copying talib/stream.py -> build/lib.linux-x86_64-3.8/talib
copying talib/abstract.py -> build/lib.linux-x86_64-3.8/talib
copying talib/test_pandas.py -> build/lib.linux-x86_64-3.8/talib
copying talib/deprecated.py -> build/lib.linux-x86_64-3.8/talib
copying talib/test_data.py -> build/lib.linux-x86_64-3.8/talib
copying talib/init.py -> build/lib.linux-x86_64-3.8/talib
running build_ext
skipping 'talib/_ta_lib.c' Cython extension (up-to-date)
building 'talib._ta_lib' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/talib
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include -I/usr/local/include -I/opt/include -I/opt/local/include -I/opt/homebrew/include -I/opt/homebrew/opt/ta-lib/include -I/usr/local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c talib/_ta_lib.c -o build/temp.linux-x86_64-3.8/talib/_ta_lib.o
In file included from /usr/local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
from /usr/local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /usr/local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from talib/_ta_lib.c:620:
/usr/local/lib/python3.8/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 "
^~~~~~~
talib/_ta_lib.c: In function ‘__pyx_pf_5talib_7_ta_lib_348_ta_getFuncInfo’:
talib/_ta_lib.c:38240:104: warning: passing argument 2 of ‘TA_GetFuncInfo’ from incompatible pointer type [-Wincompatible-pointer-types]
__pyx_v_retCode = TA_GetFuncInfo(__pyx_f_5talib_7_ta_lib___ta_getFuncHandle(__pyx_v_function_name), (&__pyx_v_info));
~^~~~~~~~~~~~~~
In file included from talib/_ta_lib.c:615:
/usr/include/ta-lib/ta_abstract.h:211:48: note: expected ‘const TA_FuncInfo **’ {aka ‘const struct TA_FuncInfo **’} but argument is of type ‘TA_FuncInfo **’ {aka ‘struct TA_FuncInfo **’}
const TA_FuncInfo **funcInfo );
The text was updated successfully, but these errors were encountered: