You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the install instructions and I encountered the following error on Ubuntu 22.04.1 LTS:
After this:
cd chromeister && make all -C src/ && python3 -m venv chromeisterenv && source chromeisterenv/bin/activate && pip install -r src/requirements.txt
I have the following error:
/tmp/pip-build-env-uj14l2ll/overlay/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:242:9: error: 'PyTuple_GET_SIZE' was not declared in this scope
if (PyTuple_GET_SIZE(value) != 3) {
^~~~~~~~~~~~~~~~
/tmp/pip-build-env-uj14l2ll/overlay/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:242:9: note: suggested alternative: 'PyTuple_GetSlice'
if (PyTuple_GET_SIZE(value) != 3) {
^~~~~~~~~~~~~~~~
PyTuple_GetSlice
/tmp/pip-build-env-uj14l2ll/overlay/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:245:13: error: 'PyTuple_GET_ITEM' was not declared in this scope
title = PyTuple_GET_ITEM(value, 2);
^~~~~~~~~~~~~~~~
/tmp/pip-build-env-uj14l2ll/overlay/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:245:13: note: suggested alternative: 'PyArray_GETITEM'
title = PyTuple_GET_ITEM(value, 2);
^~~~~~~~~~~~~~~~
PyArray_GETITEM
gmake[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/build.make:76: modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2077: modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2
Traceback (most recent call last):
File "/tmp/pip-build-env-uj14l2ll/overlay/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 640, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
File "/tmp/pip-build-env-uj14l2ll/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 672, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
File "/tmp/pip-build-env-uj14l2ll/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 704, in make_impl
"An error occurred while building with CMake.\n"
An error occurred while building with CMake.
Command:
cmake --build . --target install --config Release --
Install target:
install
Source directory:
/tmp/pip-install-pjy3pvde/opencv-python
Working directory:
/tmp/pip-install-pjy3pvde/opencv-python/_skbuild/linux-x86_64-3.7/cmake-build
Please check the install target is valid and see CMake's output for more information.
----------------------------------------
ERROR: Failed building wheel for opencv-python
Running setup.py clean for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly
I checked the requirements for the program and I workaround the following conda recipe for Ubuntu 22.04:
You can use the program like that; only the event detection will not work as this one requires open cv to work. The dotplots and the scores will be fine.
Did your workaround manage to install opencv? If so, you could also use the detect events script. Otherwise, maybe this can help
Hi There,
I followed the install instructions and I encountered the following error on Ubuntu 22.04.1 LTS:
After this:
cd chromeister && make all -C src/ && python3 -m venv chromeisterenv && source chromeisterenv/bin/activate && pip install -r src/requirements.txt
I have the following error:
I checked the requirements for the program and I workaround the following conda recipe for Ubuntu 22.04:
In this manner, as an example, I can call chromeister as follows:
and the program is working as follows:
My question is, can I just use the program in this way, or I do need to work on the python-opencv error?
Cheers,
Carlos
The text was updated successfully, but these errors were encountered: