Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py2.7/3 compliant #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

py2.7/3 compliant #7

wants to merge 1 commit into from

Conversation

arount
Copy link

@arount arount commented Sep 25, 2017

Makes duckduckgo.py python3 (and 2.7) compliant.

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

@psychomantys
Copy link

This is on version from pip repo?

@arount
Copy link
Author

arount commented Jul 16, 2018

@psychomantys this repo is this one

But looks like to be dead :(

This other repo looks like to be py3 if needed.

@arydevy
Copy link

arydevy commented Nov 18, 2020

```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