-
Notifications
You must be signed in to change notification settings - Fork 93
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
compile error #43
Comments
@yangxue0827 I'm facing the same issue. could you please shed some light on this issue? Error trace is below, python setup.py build_ext --inplace |
The utils compiled without any errors. Previously, I compiled with python 3.7.3 and I got the above errors. I recreated the conda environment with below config and libraries. The compile and model training script works. conda create -n conda-env python=3.5 Note: I got permission denied error while compiling box_utils. I ran with sudo and it works. |
python 3.7 may be not supported. |
|
does the gcc version limited by the environment? |
environments:
ubuntu 18.04 cuda 10.0 tensorflow-gpu1.13.1
curexc_type
bbox.c:9512:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
bbox.c:9513:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
error: command 'gcc' failed with exit status 1
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 1
The text was updated successfully, but these errors were encountered: