Page MenuHomeSolus

python-pytest error, possibly due to missing dependency
Closed, ResolvedPublic


After installing python-pytest (tried on unstable), running pytest gives the following error:

polomi@solus ~ $ pytest
Traceback (most recent call last):
  File "/usr/bin/pytest", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

I solved it by installing python-setuptools. So should it possibly be added as a rundep?