Skip to content

TypeError: 'module' object is not callable #13

Open

Description

@Fansgithub2019

I get the following error when I try to run example_cv2.py

Traceback (most recent call last):
File "E:\pylsd\example\example_cv2.py", line 16, in
lines = lsd(gray)
TypeError: 'module' object is not callable

How to solve it?

Activity

  1. mathigatti commented on Mar 11, 2020

    @mathigatti

    check the new code example, you should import lsd like this

    from pylsd.lsd import lsd
    
  2. anyongjin commented on Jun 10, 2021

    @anyongjin

    I upgraded the lsd algorithm version from 1.5 to 1.6, and solved the FileNotFoundError. Now it works on python3.
    You can install it with pip install pylsd2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions