Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'pip install hermit' does not install zbar dependency #18

Open
kirillkovalenko opened this issue Nov 8, 2019 · 2 comments
Open

'pip install hermit' does not install zbar dependency #18

kirillkovalenko opened this issue Nov 8, 2019 · 2 comments

Comments

@kirillkovalenko
Copy link

On a fresh Ubuntu 19.10 I did install hermit with 'pip3 install hermit' and I'm trying to launch it. It crashes with

raise ImportError('Unable to find zbar shared library')
@destrys
Copy link
Contributor

destrys commented Feb 28, 2020

Yup, zbar is a system dependency, not something pip will install.
In the Makefile you'll see it in system-dependencies, but it would be nice to make this explicit in the README and a better Error message.

@Stadicus
Copy link

Stadicus commented Apr 26, 2020

The quick start is a bit short on details. For me on Ubuntu, instead of just $ pip install hermit, it should be more like:

# system dependencies
sudo apt install python3 python3-pip python3-venv libzbar0        

# avoids python2-usage, uses recommended way of invoking pip
python3 -m pip install hermit

This does not take the creation of a venv into account, so cloning the repository and just running make is probably still the easier and more stable way to do this (although there the Python system dependencies might be helpful in the Makefile).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants