Skip to content

py2.7/3 compliant#7

Open
arount wants to merge 1 commit into
crazedpsyc:masterfrom
arount:py3
Open

py2.7/3 compliant#7
arount wants to merge 1 commit into
crazedpsyc:masterfrom
arount:py3

Conversation

@arount

@arount arount commented Sep 25, 2017

Copy link
Copy Markdown

Makes duckduckgo.py python3 (and 2.7) compliant.

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

@psychomantys

Copy link
Copy Markdown

This is on version from pip repo?

@arount

arount commented Jul 16, 2018

Copy link
Copy Markdown
Author

@psychomantys this repo is this one

But looks like to be dead :(

This other repo looks like to be py3 if needed.

@arydevy

arydevy commented Nov 18, 2020

Copy link
Copy Markdown
```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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants