Open calmtho opened 3 weeks ago
could you send the whole traceback
could you send the whole traceback i use the python 3.11 run env. i do pip to install project and user idea to run. after installed dependency, i open vpn linked not hongkong node and run test fun test_search_by_file then still throw error. say module not found error. detail :Error Traceback (most recent call last): File "C:\Users\match\AppData\Local\Programs\Python\Python311\Lib\unittest\loader.py", line 34, in testFailure raise self._exception ImportError: Failed to import test module: tests_reverse_image_searcher Traceback (most recent call last): File "C:\Users\match\AppData\Local\Programs\Python\Python311\Lib\unittest\loader.py", line 162, in loadTestsFromName module = import(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\code\Google-Reverse-Image-Search\tests\tests_reverse_image_searcher.py", line 2, in
from src.google_img_source_search.reverse_image_searcher import ReverseImageSearcher, SafeMode File "D:\code\Google-Reverse-Image-Search\src\google_img_source_search__init__.py", line 1, in from .reverse_image_searcher import ReverseImageSearcher File "D:\code\Google-Reverse-Image-Search\src\google_img_source_search\reverse_image_searcher.py", line 2, in from requests import Session ModuleNotFoundError: No module named 'requests'
https://docs.python.org/3/installing/index.html. You need to install "requests" package. "pip install requests"
my python is 3.11,when i run unit test log is say error like this,can u tell me why,i not python devloper, but i like your project, tk.