You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the command python3 duplicate_finder.py add "/home/ubuntu/" on Ubuntu 22 WSL, the program throws an ImportError.
Steps to Reproduce
Install the duplicate-images package using the instructions provided in the repository. (mongodb was installed like here: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/)
Run the command python3 duplicate_finder.py add "/home/ubuntu/" in the terminal.
Expected Result
The program should execute without any errors and add the specified directory to the list of directories to be searched for duplicate images.
Actual Result
The program throws an ImportError, as shown below:
Traceback (most recent call last):
File "/home/ubuntu/duplicate-images/duplicate_finder.py", line 40, in <module>
from flask import Flask
File "/home/ubuntu/.local/lib/python3.10/site-packages/flask/__init__.py", line 17, in <module>
from werkzeug.exceptions import abort
File "/home/ubuntu/.local/lib/python3.10/site-packages/werkzeug/__init__.py", line 151, in <module>
__import__('werkzeug.exceptions')
File "/home/ubuntu/.local/lib/python3.10/site-packages/werkzeug/exceptions.py", line 71, in <module>
from werkzeug.wrappers import Response
File "/home/ubuntu/.local/lib/python3.10/site-packages/werkzeug/wrappers.py", line 27, in <module>
from werkzeug.http import HTTP_STATUS_CODES, \
File "/home/ubuntu/.local/lib/python3.10/site-packages/werkzeug/http.py", line 1148, in <module>
from werkzeug.datastructures import Accept, HeaderSet, ETags, Authorization, \
File "/home/ubuntu/.local/lib/python3.10/site-packages/werkzeug/datastructures.py", line 16, in <module>
from collections import Container, Iterable, MutableSet
ImportError: cannot import name 'Container' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
System Configuration
Operating System: Ubuntu 22 on WSL
Python version: 3.10
duplicate-images version: latest from the GitHub repository
The text was updated successfully, but these errors were encountered:
Description
When I run the command python3 duplicate_finder.py add "/home/ubuntu/" on Ubuntu 22 WSL, the program throws an ImportError.
Steps to Reproduce
Expected Result
The program should execute without any errors and add the specified directory to the list of directories to be searched for duplicate images.
Actual Result
The program throws an ImportError, as shown below:
System Configuration
The text was updated successfully, but these errors were encountered: