0

Im using pyenv with virtualenv plugin. Im on virtualenv 3.7.6, and for some reason, when some library using asyncio, the internal asyncio files redirect to my system python when importing concurrent.futures and it fails there(system python is python 2)

    from .base_events import *
  File "/Users/idan/.pyenv/versions/3.7.6/lib/python3.7/asyncio/base_events.py", line 18, in <module>
    import concurrent.futures
  File "/usr/local/bin/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/usr/local/bin/concurrent/futures/_base.py", line 414
    raise exception_type, self._exception, self._traceback

Any ideas?

ivan_pozdeev
  • 31,209
  • 16
  • 94
  • 140
idanf
  • 84
  • 6

0 Answers0