sbrunner / deskew

Library used to deskew a scanned document
MIT License
423 stars 46 forks source link

Tool stopped working #547

Closed utsavrai closed 2 months ago

utsavrai commented 2 months ago

I can no longer import deskew or run as a command line tool, it is lagging/processing indefinitely.

sbrunner commented 2 months ago

Can you provide additional information about what you are doing? Like Python version deskew version used code? If I try with Python 3.10:

pip install -U deskew
python -c 'import deskew'

It's working (no indefinite time to import).

utsavrai commented 2 months ago

The issue persists with python 3.10.14 on ubuntu 22.04 and I am using conda environment, any idea what could be the issue? Can you please specify which exact version of python you are using. Also it was working fine earlier on newer version of python like 3.11 and I did try installing previous version of deskew and nothing seems to help so far.

sbrunner commented 2 months ago

I use Python 3.11.9! With 3.10.14 I get the same result!

utsavrai commented 2 months ago

Thanks @sbrunner for the prompt replies. The issue was with my conda environment, on a new environment I am able to import. I will close the issue.