esdalmaijer / webcam-eyetracker

Webcam-based pupil-tracker, complete with GUI to perform calibrations.
http://www.pygaze.org/2015/06/webcam-eye-tracker/
GNU General Public License v3.0
294 stars 105 forks source link

line = u'\t'.join(map(unicode, l)) + u'\n' #14

Open hehichens opened 4 years ago

hehichens commented 4 years ago

Enviroment:Ubuntu18.04+python3.7 I get this error.

NameError: name 'unicode' is not defined

DaddyWesker commented 3 years ago

from builtins import str and then replace line = u'\t'.join(map(unicode, l)) + u'\n' with line = u'\t'.join(map(str, l)) + u'\n'

Probably not only in one place.