Skip to content

Building error #20

@Diyorazh

Description

@Diyorazh

an issue here!
check FFTW:
Warning: fftw 3.3.9 is already installed and up-to-date.

running after downloading:
Running setup.py install for pybm3d ... error ERROR: Command errored out with exit status 1: command: /opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/wd/3nz9vclj4q7gqk8wcrnfynpr0000gn/T/pip-install-n1v8ikx5/pybm3d/setup.py'"'"'; __file__='"'"'/private/var/folders/wd/3nz9vclj4q7gqk8wcrnfynpr0000gn/T/pip-install-n1v8ikx5/pybm3d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/wd/3nz9vclj4q7gqk8wcrnfynpr0000gn/T/pip-record-jz4841dj/install-record.txt --single-version-externally-managed --compile --install-headers /opt/anaconda3/include/python3.7m/pybm3d cwd: /private/var/folders/wd/3nz9vclj4q7gqk8wcrnfynpr0000gn/T/pip-install-n1v8ikx5/pybm3d/ Complete output (129 lines): running install running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 creating build/lib.macosx-10.9-x86_64-3.7/pybm3d copying pybm3d/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/pybm3d running build_ext skipping 'pybm3d/bm3d.cpp' Cython extension (up-to-date) building 'pybm3d.bm3d' extension creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/pybm3d creating build/temp.macosx-10.9-x86_64-3.7/bm3d_src gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/anaconda3/include -arch x86_64 -I/opt/anaconda3/include -arch x86_64 -I/opt/anaconda3/include/python3.7m -I/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include -c pybm3d/bm3d.cpp -o build/temp.macosx-10.9-x86_64-3.7/pybm3d/bm3d.o -march=native -Wall -Wextra In file included from pybm3d/bm3d.cpp:536: In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12: In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832: /opt/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 " \ ^ pybm3d/bm3d.cpp:22355:21: error: no member named 'exc_type' in '_ts' *type = tstate->exc_type; ~~~~~~ ^ pybm3d/bm3d.cpp:22356:22: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'? *value = tstate->exc_value; ^~~~~~~~~ curexc_value /opt/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ pybm3d/bm3d.cpp:22357:19: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'? *tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /opt/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ pybm3d/bm3d.cpp:22364:24: error: no member named 'exc_type' in '_ts' tmp_type = tstate->exc_type; ~~~~~~ ^ pybm3d/bm3d.cpp:22365:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /opt/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ pybm3d/bm3d.cpp:22366:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /opt/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ pybm3d/bm3d.cpp:22367:13: error: no member named 'exc_type' in '_ts' tstate->exc_type = type; ~~~~~~ ^ pybm3d/bm3d.cpp:22368:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'? tstate->exc_value = value; ^~~~~~~~~ curexc_value /opt/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ pybm3d/bm3d.cpp:22369:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'? tstate->exc_traceback = tb; ^~~~~~~~~~~~~ curexc_traceback /opt/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ pybm3d/bm3d.cpp:22439:24: error: no member named 'exc_type' in '_ts' tmp_type = tstate->exc_type; ~~~~~~ ^ pybm3d/bm3d.cpp:22440:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /opt/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ pybm3d/bm3d.cpp:22441:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /opt/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ pybm3d/bm3d.cpp:22442:13: error: no member named 'exc_type' in '_ts' tstate->exc_type = local_type; ~~~~~~ ^ pybm3d/bm3d.cpp:22443:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'? tstate->exc_value = local_value; ^~~~~~~~~ curexc_value /opt/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ pybm3d/bm3d.cpp:22444:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'? tstate->exc_traceback = local_tb; ^~~~~~~~~~~~~ curexc_traceback /opt/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ pybm3d/bm3d.cpp:22681:24: error: no member named 'exc_type' in '_ts' tmp_type = tstate->exc_type; ~~~~~~ ^ pybm3d/bm3d.cpp:22682:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /opt/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ pybm3d/bm3d.cpp:22683:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /opt/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ pybm3d/bm3d.cpp:22684:13: error: no member named 'exc_type' in '_ts' tstate->exc_type = *type; ~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. error: command 'gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/wd/3nz9vclj4q7gqk8wcrnfynpr0000gn/T/pip-install-n1v8ikx5/pybm3d/setup.py'"'"'; __file__='"'"'/private/var/folders/wd/3nz9vclj4q7gqk8wcrnfynpr0000gn/T/pip-install-n1v8ikx5/pybm3d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/wd/3nz9vclj4q7gqk8wcrnfynpr0000gn/T/pip-record-jz4841dj/install-record.txt --single-version-externally-managed --compile --install-headers /opt/anaconda3/include/python3.7m/pybm3d Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions