Skip to content

Heralding import error w/ Python 3.8.x #129

@t3chn0m4g3

Description

@t3chn0m4g3

When executing heralding (from master) with python 3.8.x I get the following import error:

heralding    | Traceback (most recent call last):
heralding    |   File "/usr/bin/heralding", line 24, in <module>
heralding    |     import heralding.honeypot
heralding    |   File "/usr/lib/python3.8/site-packages/heralding/honeypot.py", line 33, in <module>
heralding    |     from ipify import get_ip
heralding    |   File "/usr/lib/python3.8/site-packages/ipify/__init__.py", line 31, in <module>
heralding    |     from .ipify import get_ip
heralding    |   File "/usr/lib/python3.8/site-packages/ipify/ipify.py", line 14, in <module>
heralding    |     from .settings import API_URI, MAX_TRIES, USER_AGENT
heralding    |   File "/usr/lib/python3.8/site-packages/ipify/settings.py", line 9, in <module>
heralding    |     from platform import mac_ver, win32_ver, linux_distribution, system
heralding    | ImportError: cannot import name 'linux_distribution' from 'platform' (/usr/lib/python3.8/platform.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions