[Python-modules-team] Bug#828732: Fwd: Python 3.x does not allow to run code (EMailHarvester) that it is supposed to...

Guillaume MULLER gm at presans.com
Mon Jun 27 10:34:18 UTC 2016


Package: python3-pip
However, I'm not sure if it is python3 or pip-3.2 that causes the problem... 

* What led up to the situation?

# be on Debian 7, as up-to-date as possible
# apt-get install python3
# apt-get install python3-pip
$ git clone https://github.com/maldevel/EmailHarvester.git
$ pip-3.2 install -r requirements.txt --user
$ python3 EmailHarvester.py -d test.com -l 50 -e google
Traceback (most recent call last):
  File "./Softs/EmailHarvester/EmailHarvester.py", line 42, in <module>
    import validators
  File "/home/gmuller/.local/lib/python3.2/site-packages/validators/__init__.py", line 1, in <module>
    from .between import between  # noqa
  File "/home/gmuller/.local/lib/python3.2/site-packages/validators/between.py", line 2, in <module>
    from .utils import validator
  File "/home/gmuller/.local/lib/python3.2/site-packages/validators/utils.py", line 18
    return u'ValidationFailure(func={func}, args={args})'.format(
                                                        ^
SyntaxError: invalid syntax

It runs perfectly on Ubuntu 16.04 and Debian 8...

The only difference I see is that python3-pip on Debian 7 installs a command called pip3 instead of pip-3.2



More information about the Python-modules-team mailing list