idealo / imagededup

😎 Finding duplicate images made easy!
https://idealo.github.io/imagededup/
Apache License 2.0
5.18k stars 459 forks source link

Runtime Error #132

Closed aseemagarwal123 closed 3 years ago

aseemagarwal123 commented 3 years ago

mac os

RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase.

    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

2020-12-31 19:45:56,585: INFO Start: Calculating hashes...

tanujjain commented 3 years ago

Just make the calls within if __name__ == '__main__':.

Check #94 and #67

Closing this since it has been reported several times before and isn't an imagededup issue.