<div dir="ltr"><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4">Hello,</font></div><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4">I have programmed a controller in Python and I need to link it to TRNSYS to control other components. Type 169 does not work at all. So I am trying to use type 163. But the problem is that when I import external libraries in my Python code, the type 163 does not update the py_outputs.dat anymore! How I can use a Python script that include external libraries in type 163? For example the following code works when the pandas and numpy libraries are not included, but with the two first lines it does not work anymore...</font></div><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4"><br></font></div><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4"><img src="cid:ii_lbm9wyua1" alt="image.png" width="517" height="398"><br></font></div><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4"><br></font></div><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4">I also tried to install the type 3157 that is new and apparently allows the use of external libraries, but when I run the example I get the following error.</font></div><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4"><br></font></div><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4"><img src="cid:ii_lbm9vlni0" alt="image.png" width="517" height="325"><br></font></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div style="text-align:right"><div style="text-align:left"><font face="times new roman, serif" size="4"><br></font></div><div style="text-align:left"><div class="gmail_default" style="color:rgb(11,83,148)"><font face="times new roman, serif" size="4">Anyway to do it?</font></div></div><div style="text-align:left"><font face="times new roman, serif" size="4"><b><font color="#0000ff"><span class="gmail_default" style="color:rgb(11,83,148)"></span>                                                                                                                         </font></b><br></font></div><font face="times new roman, serif" size="4"><br></font></div><font color="#0000ff"><font face="times new roman, serif" size="4"><br></font></font></div><div><font color="#0000ff"><font face="times new roman, serif" size="4"><br></font></font><div><div><font color="#0000ff"><font size="1"><br></font></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>