pytest-concurrent icon indicating copy to clipboard operation
pytest-concurrent copied to clipboard

Missing gevent as dependency

Open lucrib opened this issue 5 years ago • 0 comments
trafficstars

Installed this package in a fresh virtual environment and tried to run a simple test file and got error message saying No module named 'gevent'

INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/_pytest/main.py", line 197, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/_pytest/main.py", line 247, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/pluggy/hooks.py", line 286, in __call__
INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/pluggy/manager.py", line 93, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/pluggy/manager.py", line 87, in <lambda>
INTERNALERROR>     firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/pluggy/callers.py", line 208, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/pluggy/callers.py", line 80, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/pluggy/callers.py", line 187, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/pytest_concurrent/plugin.py", line 88, in pytest_runtestloop
INTERNALERROR>     PYTEST_CONCURRENT_MODE.run_items(items=ungrouped_items, session=session, workers=workers)
INTERNALERROR>   File "/home/lribeiro/.virtualenvs/freshenv/lib/python3.7/site-packages/pytest_concurrent/modes/asyncnet.py", line 8, in run_items
INTERNALERROR>     import gevent
INTERNALERROR> ModuleNotFoundError: No module named 'gevent'

lucrib avatar Mar 05 '20 12:03 lucrib