Skip to content
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

Building error #20

Open
Diyorazh opened this issue Apr 5, 2021 · 2 comments
Open

Building error #20

Diyorazh opened this issue Apr 5, 2021 · 2 comments

Comments

@Diyorazh
Copy link

Diyorazh commented Apr 5, 2021

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.

@Toliak
Copy link

Toliak commented Jul 25, 2021

I have the same issue

OS:

Linux manjaro 5.4.131-1-MANJARO #1 SMP PREEMPT Sun Jul 11 12:35:36 UTC 2021 x86_64 GNU/Linux

FFTW Version:

Packages (1) fftw-3.3.9-1

PIP Version:

pip 21.1.3 

Package dependencies versions:

Collecting pybm3d
  Using cached pybm3d-0.2.1.tar.gz (1.1 MB)
Requirement already satisfied: setuptools>=18.0 in ./venv/lib/python3.9/site-packages (from pybm3d) (57.1.0)
Requirement already satisfied: cython>=0.27 in ./venv/lib/python3.9/site-packages (from pybm3d) (0.29.24)
Requirement already satisfied: numpy>=1.13 in ./venv/lib/python3.9/site-packages (from pybm3d) (1.19.5)

@Tokariew
Copy link

Tokariew commented Jan 22, 2022

for me i needed to install libtiff-devel to succesfully compile it, and could compile it for python 3.6, but not 3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants