kraken-2:PyOpenCV dti$ python3 example.py
Traceback (most recent call last):
File "example.py", line 9, in
from pygazetracker.webcam import WebCamTracker
File "/Users/dti/webcam-eyetracker/PyOpenCV/pygazetracker/init.py", line 22, in
_DIR = os.path.abspath(os.path.dirname(file)).decode(u'utf-8')
AttributeError: 'str' object has no attribute 'decode'
kraken-2:PyOpenCV dti$
Hi, @mxgxw @esdalmaijer @jeffesquivels
I met this error when run example.py.
kraken-2:PyOpenCV dti$ python3 example.py Traceback (most recent call last): File "example.py", line 9, in
from pygazetracker.webcam import WebCamTracker
File "/Users/dti/webcam-eyetracker/PyOpenCV/pygazetracker/init.py", line 22, in
_DIR = os.path.abspath(os.path.dirname(file)).decode(u'utf-8')
AttributeError: 'str' object has no attribute 'decode'
kraken-2:PyOpenCV dti$
What's wrong with me?
Thanks in advance~