Closed Ar57m closed 4 months ago
btw i got this warning installing opencv
WARNING: opencv-python is compiled with numpy 1.26.2, but numpy 1.26.4 is installed. Please report it to https://github.com/termux/termux-packages if any bug happens.
``
opencv
has been removed from main to x11. Please install x11-repo
.
apt install x11-repo && apt update && apt install opencv
opencv
has been removed from main to x11. Please installx11-repo
.
apt install x11-repo && apt update && apt install opencv
thanks now it's working fine š¤
@licy183 btw sorry to bother you, I've been trying to create a video with pngs using imageio.v2, but ffmpeg keeps giving me this error, do you know how to fix it?
CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/ffmpeg": cannot locate symbol "EVP_MD_CTX_init" referenced by "/system/lib64/libsqlite.so"...
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/imageio_ffmpeg/_io.py", line 627, in write_frames
p.stdin.write(bb)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/data/com.termux/files/home/man/another_fractal_generator/runner.py", line 371, in <module>
writer.append_data(image)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/imageio/core/format.py", line 590, in append_data
return self._append_data(im, total_meta)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/imageio/plugins/ffmpeg.py", line 600, in _append_data
self._write_gen.send(im)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/imageio_ffmpeg/_io.py", line 634, in write_frames
raise IOError(msg)
OSError: [Errno 32] Broken pipe
FFMPEG COMMAND:
/data/data/com.termux/files/usr/bin/ffmpeg -y -f rawvideo -vcodec rawvideo -s 1600x1600 -pix_fmt rgb24 -r 10.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -v warning /data/data/com.termux/files/home/man/another_fractal_generator/output.mp4
FFMPEG STDERR OUTPUT:
Try installing libandroid-stub
. apt install libandroid-stub
Try installing
libandroid-stub
.apt install libandroid-stub
thanks again š
Problem description
recently I pkg update everything, and cv2 stopped working, somebody know how to fix it? I forgot to copy the logs of the update but I have a screenshot,
the error running the python script:
What steps will reproduce the bug?
pkg update and upgrade run a python script importing cv2
What is the expected behavior?
import cv2
System information