diff --git a/aikif/agents/learn/agent_learn_aixi.py b/aikif/agents/learn/agent_learn_aixi.py
index <HASH>..<HASH> 100644
--- a/aikif/agents/learn/agent_learn_aixi.py
+++ b/aikif/agents/learn/agent_learn_aixi.py
@@ -9,7 +9,15 @@ sys.path.append(root_folder)
 print("agent_learn_aixi : root_folder = " + root_folder)
 import aikif.agents.agent as agt
 import cls_log
-		
+
+try:		
+    from pyaixi import agent, agents, environment, environments, util
+    from pyaixi.agent import Agent
+    from pyaixi.agents import *
+    from pyaixi.environment import Environment
+    from pyaixi.environments import *
+except:
+    sys.exit("you need to install pyaixi")
 
 def TEST():
     agt = Aixi('test aixi', root_folder, True, 1)
@@ -22,6 +30,7 @@ class Aixi(agt.Agent):
     def __init__(self, name,  fldr, running, LOG_LEVEL):
         agt.Agent.__init__(self, name,  fldr, running)
         self.LOG_LEVEL = LOG_LEVEL
+
         
     def __str__(self):
         res = ''
imports pyaixi componants and warns on failure