pyScanLib icon indicating copy to clipboard operation
pyScanLib copied to clipboard

Not working with Python 3 !!

Open dhiashalabi opened this issue 4 years ago • 2 comments

Doesn't work with python 3.

dhiashalabi avatar Jun 24 '21 14:06 dhiashalabi

Can you share more details.

soachishti avatar Jun 24 '21 19:06 soachishti

This is the error message, I think it is because the unitConverter is deprecated and now called unit-converter.

ModuleNotFoundError Traceback (most recent call last) Cell In[6], line 7 5 import pytesseract 6 from PIL import Image ----> 7 from pyScanLib import DeviceManager, Scanner 8 import fitz 10 # Set OCR language

File /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pyScanLib/init.py:2 1 import sys ----> 2 import unitConverter # Contains unit converting functions ie millimeter to inch (mmToInch) etc 4 """ 5 * pyScanLib 6 * Location: https://github.com/soachishti/pyScanLib (...) 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 """ 33 platform = sys.platform

ModuleNotFoundError: No module named 'unitConverter'

Gurutosh avatar Feb 18 '23 17:02 Gurutosh