diff --git a/bilby/core/utils/log.py b/bilby/core/utils/log.py
index d9db7581c9bf4a08d50bf4329c30d2b0f628e293..5b4dfd7507bb40c54622741ef3b928892e635de9 100644
--- a/bilby/core/utils/log.py
+++ b/bilby/core/utils/log.py
@@ -1,5 +1,4 @@
 import logging
-import os
 from pathlib import Path
 import sys
 
@@ -60,13 +59,8 @@ def setup_logger(outdir='.', label=None, log_level='INFO', print_version=False):
 
 
 def get_version_information():
-    version_file = os.path.join(
-        os.path.dirname(os.path.dirname(os.path.dirname(__file__))), '.version')
-    try:
-        with open(version_file, 'r') as f:
-            return f.readline().rstrip()
-    except EnvironmentError:
-        print("No version information file '.version' found")
+    from bilby_pipe import _version
+    return _version.get_versions()["version"]
 
 
 def loaded_modules_dict():