Closed alonsnir closed 6 years ago
Thanks for the report, I manage to install Zbarlight on Ubuntu Trusty using the commands below. The only things that differ from your setup is the Python version (2.7.6 vs 2.7.12) and maybe the Setuptools version. Zbarlight requires Setuptools >= 30.3, could you check that this requirement is meet ?
(host) $ docker run --rm -ti ubuntu:14.04 # run an instance of Ubuntu Trusty
(ubuntu) # apt install python python-dev libzbar-dev python-virtualenv
(ubuntu) # adduser --disabled-password --gecos ",,," zb
(ubuntu) # su -l zb
(ubuntu) $ virtualenv venv
(ubuntu) $ . ./venv/bin/activate
(venv) $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
(venv) $ python --version
Python 2.7.6
(venv) $ pip --version
pip 1.5.4 from /home/zb/venv/local/lib/python2.7/site-packages (python 2.7)
(venv) $ pip install -U pip
(venv) $ pip --version
pip 10.0.1 from /home/zb/venv/local/lib/python2.7/site-packages/pip (python 2.7)
(venv) $ pip show setuptools | grep Version
Version: 2.2
(venv) $ pip install -U setuptools
(venv) $ pip show setuptools | grep Version
Version: 39.1.0
(venv) $ pip install zbarlight
(venv) $ pip show zbarlight
Name: zbarlight
Version: 2.0
Summary: A simple zbar wrapper
Home-page: https://github.com/Polyconseil/zbarlight
Author: Polyconseil
Author-email: opensource+zbarlight@polyconseil.fr
License: BSD 3-Clause License
Location: /home/zb2/venv/lib/python2.7/site-packages
Requires: Pillow
Required-by:
Unfortunately it's not on docker so not sure what in my environment got 'polluted'.
(venv) $ pip show setuptools | grep Version
Version: 39.1.0
I suspect the problem is with my environment, but just in case raising it here