Question: I have recently contacted support because of an opencv problem I had. They told me I would be using a wrong template so I tried forking the repl they have shared but run into a problem I already encountered earlier. I attached an error message and the code below. It seems like some dependencies are missing. How can I manually fix this on my own without running it by the Repl Support every time?
Repl link: https://replit.com/@JanBreuer2/Python-OpenCVjjj#main.py
code snippet
Error Message:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/runner/Python-OpenCVjjj/venv/lib/python3.8/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
SIGABRT: abort
PC=0x7efda1d8cbaa m=0 sigcode=18446744073709551610
signal arrived during cgo execution
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4bb800, 0xc000068cd8)
runtime/cgocall.go:156 +0x5c fp=0xc000068cb0 sp=0xc000068c78 pc=0x40651c
main._Cfunc_pry_eval_file(0x555556fc2c10, 0x555556feda90, 0x1, 0x5555570199e0)
_cgo_gotypes.go:562 +0x4c fp=0xc000068cd8 sp=0xc000068cb0 pc=0x4b944c
main.Python.EvalFile.func5(0x5555570199e0, 0x8, {0xc0000be170, 0x0, 0x40ced5}, 0x0)
github.com/replit/prybar/languages/python3/main.go:92 +0x75 fp=0xc000068d28 sp=0xc000068cd8 pc=0x4ba455
main.Python.EvalFile({}, {0x7ffc502f5035, 0x7}, {0xc0000be170, 0x0, 0x0})
github.com/replit/prybar/languages/python3/main.go:92 +0x20c fp=0xc000068de0 sp=0xc000068d28 pc=0x4ba22c
main.(*Python).EvalFile(0x5d56d0, {0x7ffc502f5035, 0x5d56d0}, {0xc0000be170, 0x0, 0xc0000ad110})
<autogenerated>:1 +0x45 fp=0xc000068e18 sp=0xc000068de0 pc=0x4bb265
github.com/replit/prybar/utils.Language.EvalFile({{0x5075d0, 0x5d56d0}, {0x7ffc502f501f, 0xc0000a80f0}}, {0x7ffc502f5035, 0x7}, {0xc0000be170, 0x0, 0x0})
github.com/replit/prybar/utils/language.go:86 +0xa2 fp=0xc000068e78 sp=0xc000068e18 pc=0x4b8102
github.com/replit/prybar/utils.DoCli({0x5075d0, 0x5d56d0})
github.com/replit/prybar/utils/utils.go:67 +0x2e8 fp=0xc000068f60 sp=0xc000068e78 pc=0x4b89a8
main.main()
github.com/replit/prybar/languages/python3/generated_launch.go:7 +0x27 fp=0xc000068f80 sp=0xc000068f60 pc=0x4b8bc7
runtime.main()
runtime/proc.go:255 +0x227 fp=0xc000068fe0 sp=0xc000068f80 pc=0x436d67
runtime.goexit()
runtime/asm_amd64.s:1581 +0x1 fp=0xc000068fe8 sp=0xc000068fe0 pc=0x462e41
rax 0x0
rbx 0x6
rcx 0x7efda1d8cbaa
rdx 0x0
rdi 0x2
rsi 0x7ffc502f1f30
rbp 0x7ffc502f2170
rsp 0x7ffc502f1fa8
r8 0x0
r9 0x7ffc502f1f30
r10 0x8
r11 0x246
r12 0x5555570dd748
r13 0x7ffc502f2340
r14 0x7ffc502f22d8
r15 0x7ffc502f2348
rip 0x7efda1d8cbaa
rflags 0x246
cs 0x33
fs 0x0
gs 0x0
repl process died unexpectedly: exit status 2