I'm trying to install the duckduckgo for Python 3.6 (Windows), but cannot figure out how.
I first tried
pip install duckduckgo
Which raises the exception ModuleNotFoundError: No module named urllib2
Then I tried installing by downloading the tar.gz file that is located on their webpage.
I navigated to the correct directory and executed
python setup.py install
Which, apparently, ran successfully.
However, when I execute a Python script with the following code:
import duckduckgo
It raises a ModuleNotFoundError
.
UPDATE (July 2018). This is version, duckduckpy, supports Python 3. https://github.com/ivankliuk/duckduckpy
pip install duckduckpy
Happy searching!