python-duckduckgo icon indicating copy to clipboard operation
python-duckduckgo copied to clipboard

py2.7/3 compliant

Open arount opened this issue 8 years ago • 3 comments

Makes duckduckgo.py python3 (and 2.7) compliant.

(+ remove some useless whitespaces because of my editor conf :))

arount avatar Sep 25 '17 15:09 arount

This is on version from pip repo?

psychomantys avatar Jul 14 '18 22:07 psychomantys

@psychomantys this repo is this one

But looks like to be dead :(

This other repo looks like to be py3 if needed.

arount avatar Jul 16 '18 09:07 arount

```ERROR: Command errored out with exit status 1:
 command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-045zxlfv/duckduckgo2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-045zxlfv/duckduckgo2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-045zxlfv/duckduckgo2/pip-egg-info
     cwd: /tmp/pip-install-045zxlfv/duckduckgo2/
Complete output (7 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-045zxlfv/duckduckgo2/setup.py", line 2, in <module>
    from duckduckgo import __version__
  File "/tmp/pip-install-045zxlfv/duckduckgo2/duckduckgo.py", line 2, in <module>
    import urllib2
ModuleNotFoundError: No module named 'urllib2'
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

arydevy avatar Nov 18 '20 16:11 arydevy