diff --git a/thefuck/utils.py b/thefuck/utils.py index dbfc6c3ba..59898f92e 100644 --- a/thefuck/utils.py +++ b/thefuck/utils.py @@ -1,6 +1,5 @@ import os import pickle -import pkg_resources import re import shelve import six @@ -255,6 +254,8 @@ def _cache(fn, *args, **kwargs): def get_installation_info(): + import pkg_resources + return pkg_resources.require('thefuck')[0]