deedy5 / duckduckgo_search

Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine. Downloading files and images to a local hard drive.
MIT License
932 stars 117 forks source link

ImportError: cannot import name 'DDGS' from 'duckduckgo_search' #102

Closed wilmerhenao closed 12 months ago

wilmerhenao commented 12 months ago

When I try

from duckduckgo_search import DDGS

I'm on version 3.8.3 and my python is 3.11.2

deedy5 commented 12 months ago

If you do not want to create and use a virtual environment, just install the package this way:

python -m pip install -U duckduckgo_search --break-system-packages

You can check if a package is installed in the terminal with the command:

ddgs version