I tried to set up a virtualenv and I have setuptools (39.0.1). And I got
In [1]: import pkg_resources.py31compat
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-136e80f945a9> in <module>()
----> 1 import pkg_resources.py31compat
ImportError: No module named py31compat
I read elsewhere that installing the latest setuptools should fix this. But apparently, it didn't work.
Please help.
(additional info in comments)