diff --git a/src/View/Doc/Window.py b/src/View/Doc/Window.py
index 3c39dca08c2bcb50e6a43acc844317ce369dc946..ce6077ea0035076a821224446ed50d244be31549 100644
--- a/src/View/Doc/Window.py
+++ b/src/View/Doc/Window.py
@@ -16,7 +16,7 @@
 
 # -*- coding: utf-8 -*-
 
-import os
+import os, sys
 import logging
 import subprocess
 
@@ -37,10 +37,18 @@ class DocWindow(PamhyrWindow):
     _pamhyr_name = "Doc"
 
     def _path_file(self, filename):
+        if ".py" in sys.argv[0]:
+            return os.path.abspath(
+                os.path.join(
+                    os.path.dirname(__file__),
+                    "..", "..", "..", "doc", filename
+                )
+            )
+
         return os.path.abspath(
             os.path.join(
                 os.path.dirname(__file__),
-                "..", "..", "..", "doc", filename
+                "..", "..", "..", "..", "doc", filename
             )
         )
 
diff --git a/src/init.py b/src/init.py
index 0d6021286aba38062e8dff3cc6e0892e3e26819a..5e5e434dd66bcea9dbc2916c62367c6c5b5c3cfa 100644
--- a/src/init.py
+++ b/src/init.py
@@ -83,6 +83,10 @@ def license():
     logger.info("license: This is free software, and you are welcome to redistribute it")
     logger.info("license: under certain conditions.")
 
+    py_version = sys.version.split("\n")[0]
+
+    logger.info(f"python: {py_version}")
+
 def setup_lang(app, conf:Config):
     "Return QTranslator configured for current language"
     lang_file = ""