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

failad to install #3

Open
Sorien opened this issue Oct 30, 2021 · 0 comments
Open

failad to install #3

Sorien opened this issue Oct 30, 2021 · 0 comments

Comments

@Sorien
Copy link

Sorien commented Oct 30, 2021

  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2zvihyx9/cec_f4bf514a4d2b4be094396c7ec05c862a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2zvihyx9/cec_f4bf514a4d2b4be094396c7ec05c862a/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-3crug6_q
       cwd: /tmp/pip-install-2zvihyx9/cec_f4bf514a4d2b4be094396c7ec05c862a/
  Complete output (35 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'cec' extension
  creating build
  creating build/temp.linux-x86_64-3.9
  x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT/python3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/python3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iinclude -I/usr/include/python3.9 -c cec.cpp -o build/temp.linux-x86_64-3.9/cec.o
  cec.cpp: In function ‘PyObject* can_persist_config(PyObject*, PyObject*)’:
  cec.cpp:615:32: error: ‘class CEC::ICECAdapter’ has no member named ‘CanPersistConfiguration’; did you mean ‘CanSaveConfiguration’?
    615 |       RETURN_BOOL(CEC_adapter->CanPersistConfiguration());
        |                                ^~~~~~~~~~~~~~~~~~~~~~~
  cec.cpp:121:13: note: in definition of macro ‘RETURN_BOOL’
    121 |   result = (arg); \
        |             ^~~
  cec.cpp: In function ‘PyObject* persist_config(PyObject*, PyObject*)’:
  cec.cpp:622:26: error: ‘class CEC::ICECAdapter’ has no member named ‘CanPersistConfiguration’; did you mean ‘CanSaveConfiguration’?
    622 |       if( ! CEC_adapter->CanPersistConfiguration() ) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~
        |                          CanSaveConfiguration
  cec.cpp:632:32: error: ‘class CEC::ICECAdapter’ has no member named ‘PersistConfiguration’; did you mean ‘SetConfiguration’?
    632 |       RETURN_BOOL(CEC_adapter->PersistConfiguration(&config));
        |                                ^~~~~~~~~~~~~~~~~~~~
  cec.cpp:121:13: note: in definition of macro ‘RETURN_BOOL’
    121 |   result = (arg); \
        |             ^~~
  cec.cpp: In function ‘PyObject* PyInit_cec()’:
  cec.cpp:884:23: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
    884 |    PyEval_InitThreads();
        |                       ^
  In file included from /usr/include/python3.9/Python.h:145,
                   from cec.cpp:29:
  /usr/include/python3.9/ceval.h:130:37: note: declared here
    130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
        |                                     ^~~~~~~~~~~~~~~~~~
  error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for cec
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