Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

build wheels for chainerCV failed #943

Open
chenf99 opened this issue Dec 19, 2019 · 1 comment
Open

build wheels for chainerCV failed #943

chenf99 opened this issue Dec 19, 2019 · 1 comment

Comments

@chenf99
Copy link

chenf99 commented Dec 19, 2019

I tried to install chainercv on ubuntu16.04 but got this error:

Building wheels for collected packages: chainercv
  Building wheel for chainercv (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/chenfan/anaconda3/envs/CDD/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5hil58zc/chainercv/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5hil58zc/chainercv/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-jysike7a --python-tag cp37
       cwd: /tmp/pip-install-5hil58zc/chainercv/
  Complete output (234 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/chainercv
  copying chainercv/__init__.py -> build/lib.linux-x86_64-3.7/chainercv
...
chainercv/utils/bbox/_nms_gpu_post.c:6025:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
       tstate->exc_traceback = local_tb;
             ^
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for chainercv
  Running setup.py clean for chainercv
Failed to build chainercv
@LeiXian1203
Copy link

same problem,how to solve it?

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

No branches or pull requests

2 participants