femioladeji / License-Plate-Recognition-Nigerian-vehicles

A python program that uses the concept of OCR using machine learning to identify the characters on a Nigerian license plate
https://blog.devcenter.co/developing-a-license-plate-recognition-system-with-machine-learning-in-python-787833569ccd
248 stars 126 forks source link

ImportError: No module named 'Tkinter' #38

Open getcontrol opened 4 years ago

getcontrol commented 4 years ago

Everything else installed fine until I ran python ALPR.py and received the fatal ImportError: No module named 'Tkinter'

This seems to be an endemic issue in Python. Tried spinning up various pyenvs including 2.7.10 which is supposed to have a stable version of TKinter. Here's all the versions I tried :

2.7.0 2.7.10
2.7.17

No avail on any of these. Any insights on which 2.7.x works?

femioladeji commented 4 years ago

@getcontrol it's been a while I worked on this so I don't really know the version that will be compatible. I was planning to make the code compatible with python 3 but I've been too busy to do that. The Tkinter was for the GUI you can modify the code to not use it.