Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'lsd' #19

Open
lucasleirbag opened this issue Jun 28, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'lsd' #19

lucasleirbag opened this issue Jun 28, 2024 · 2 comments

Comments

@lucasleirbag
Copy link

lucasleirbag commented Jun 28, 2024

I am encountering an error when trying to run the script scan.py in my project. The error occurs when trying to import the lsd module from the pylsd package. I received the following error:

Traceback (most recent call last):
  File "/Users/mac/Project/OpenCV-Document-Scanner/scan.py", line 20, in <module>
    from pylsd.lsd import lsd
  File "/Users/mac/Project/OpenCV-Document-Scanner/venv/lib/python3.11/site-packages/pylsd/__init__.py", line 8, in <module>
    from lsd import lsd
ModuleNotFoundError: No module named 'lsd'

Environment:

Operating System: MacOS
Python Version: 3.11.9
@seb5433
Copy link

seb5433 commented Jul 15, 2024

Hi there,

I encountered the same issue while trying to run this project. I managed to resolve it by using Python 3.8. It seems that there might be compatibility issues with other Python versions, so switching to Python 3.8 could be a potential solution for anyone experiencing similar problems.

Hope this helps!

@KennethEladistu
Copy link

you can solve this by doing pip install ocrd-fork-pylsd hehe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants