Import Error (x1 yoga gen6)
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 412
- PR merge metrics
- No merged PRs in 30d
Description
An import error is raised when running `howdy test` or `add`
```
sudo howdy test
Traceback (most recent call last):
File "/usr/bin/howdy", line 95, in
import cli.add
File "/usr/lib/security/howdy/cli/add.py", line 11, in
from recorders.video_capture import VideoCapture
File "/usr/lib/security/howdy/recorders/video_capture.py", line 6, in
import cv2
ImportError: libfmt.so.8: cannot open shared object file: No such file or directory
[salvocos@yogagnome ~]$ sudo howdy test
Traceback (most recent call last):
File "/usr/bin/howdy", line 109, in
import cli.test
File "/usr/lib/security/howdy/cli/test.py", line 9, in
import cv2
ImportError: libfmt.so.8: cannot open shared object file: No such file or directory
```
I've searched for similar issues already, and my issue has not been reported yet.
System info:
```
inxi -b
System: Kernel: 5.15.2-arch1-1 x86_64 bits: 64 Desktop: GNOME 41.1 Distro: ArcoLinux
Machine: Type: Convertible System: LENOVO product: 20XYCTO1WW v: ThinkPad X1 Yoga Gen 6
CPU: Info: Quad Core 11th Gen Intel Core i7-1165G7 [MT MCP]
Graphics: Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
Display: x11 server: X.Org 1.21.1.1 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 3840x2400~60Hz
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.2.5
```
Howdy 2.6.1
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the import failure with `howdy test` and `howdy add`, then inspect `cli/test.py`, `cli/add.py`, and `recorders/video_capture.py`, where `cv2` is imported. Trace how the package is installed and handles the missing `libfmt.so.8`; done means both commands start without this import error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- opencv, python
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100