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

Build Error darkflow on 20.04 Ubuntu #1210

Open
hiteshkumar1712 opened this issue Jun 24, 2022 · 0 comments
Open

Build Error darkflow on 20.04 Ubuntu #1210

hiteshkumar1712 opened this issue Jun 24, 2022 · 0 comments

Comments

@hiteshkumar1712
Copy link

the build works well on 18.04. But not on Ubuntu 20.04. Please help

/home/metro/anaconda3/envs/synvids1/include/python3.6m/unicodeobject.h:508:44: warning: signed and unsigned type in conditional expression [-Wsign-compare]
             ((const Py_UCS1 *)(data))[(index)] : \
                                                ^
    darkflow/cython_utils/nms.c:464:43: note: in expansion of macro ‘PyUnicode_READ’
       #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
                                               ^~~~~~~~~~~~~~
    darkflow/cython_utils/nms.c:20082:53: note: in expansion of macro ‘__Pyx_PyUnicode_READ’
             if (__Pyx_PyUnicode_READ(kind, data1, 0) != __Pyx_PyUnicode_READ(kind, data2, 0)) {
                                                         ^~~~~~~~~~~~~~~~~~~~
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/metro/anaconda3/envs/synvids1/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-hfn_2i3c/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-hfn_2i3c/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'"'"'))' install --record /tmp/pip-record-abjyialq/install-record.txt --single-version-externally-managed --compile --install-headers /home/metro/anaconda3/envs/synvids1/include/python3.6m/darkflow Check the logs for full command output.

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

1 participant