Traceback (most recent call last):


 "./pupygen.py", line 33, in <module>

from pupylib.utils.listener import get_listener_ip, get_listener_port


 "/root/attack/tools/pupy/pupy/pupylib/__init__.py", line 23, in <module>

from PupyCredentials import Credentials


 "/root/attack/tools/pupy/pupy/pupylib/PupyCredentials.py", line 18, in <module>

from network.lib.transports.cryptoutils import ECPV


 "/root/attack/tools/pupy/pupy/network/lib/transports/cryptoutils/__init__.py", line 43, in <module>

from .ecpv import ECPV


 "/root/attack/tools/pupy/pupy/network/lib/transports/cryptoutils/ecpv.py", line 11, in <module>

**from tinyec.ec import (
ImportError: cannot import name to_bytes**


Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/home/jjk3/PyCharmProjects/work/vmware/cset/pcas/slick/scratch/ptvenv/lib/python3.7/site-packages/setuptools/__init__.py", line 5, in <module>

import functools


 "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/functools.py", line 21, in <module>

from collections import namedtuple


 "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/collections/__init__.py", line 27, in <module>

from reprlib import recursive_repr as _recursive_repr


 "/tmp/pip-install-teu935cv/future/src/reprlib/__init__.py", line 7, in <module>

raise ImportError('This package should not be accessible on Python 3. '

ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.
