I have a mercurial installed globaly and pylama in a virtualenv.
When installing mercurial hooks they fail since mercurial can't import the hook and fails.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3239866-mercurial-hooks-fails-when-working-with-virtualenvs?utm_campaign=plugin&utm_content=tracker%2F394650&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F394650&utm_medium=issues&utm_source=github).
I have a mercurial installed globaly and pylama in a virtualenv. When installing mercurial hooks they fail since mercurial can't import the hook and fails.