Closed guerda closed 3 years ago
Looks like zbar
brings along a ton of dependencies, which are not needed for vacdec
.
https://packages.ubuntu.com/source/bionic/zbar
On my Ubuntu 18.04 I only have libzbar0
installed, and vacdec
works like a charm (though I do not remember when I installed it).
Ah, good point, I only read in the documentation of pyzbar that it needs zbar. I guess you installed it with apt install libzbar0 ? if so, I will update the readme Not sure if libzbar0 is also applicable for Mac OS.
The Linux version can be smaller, but for Mac OS it seems that there is no way to obtain the library itself without compiling it yourself.
Ah, good point, I only read in the documentation of pyzbar that it needs zbar. I guess you installed it with apt install libzbar0 ? if so, I will update the readme
As I wrote above, I cannot recall - this was already on my machine when I started using vacdec
- so I did not have to install any os package, just the Python packages.
Looks like it came with gstreamer
:-)
❯ apt-cache rdepends --installed libzbar0
libzbar0
Reverse Depends:
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-bad
I added the smaller package for Linux and pushed it to this branch. Thanks for the feedback!
Thanks!
On Linux and Mac OS X, you need to install zbar not only via pip, but also via brew or apt, to use pyzbar. I added a small sentence to the README.