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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

wilmerhenao opened this issue · comments

When I try

from duckduckgo_search import DDGS

I'm on version 3.8.3 and my python is 3.11.2

commented

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