<div dir="ltr"><div>Hi,<br><br></div>I'm trying to play around with pylxd but not getting very far. The documentation states you can start with:<br><pre><span class="gmail-gp">>>> </span><span class="gmail-kn">from</span> <span class="gmail-nn">pylxd</span> <span class="gmail-kn">import</span> <span class="gmail-n">Client</span>
<span class="gmail-gp">>>> </span><span class="gmail-n">client</span> <span class="gmail-o">=</span> <span class="gmail-n">Client</span><span class="gmail-p">()</span></pre><br>When I try it, I get:<br><span style="font-family:monospace,monospace">>>> from pylxd import Client<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>ImportError: cannot import name Client</span><br><div><br></div><div>I've found that I can do:<br><span style="font-family:monospace,monospace">>>> from pylxd import client</span><br></div><div><br>But I can't assign that to anything:<br><span style="font-family:monospace,monospace">>>> lxdClient = client()<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>TypeError: 'module' object is not callable<br></span></div><div><br><br></div><div>I've got what I think is a pretty standard Ubuntu server 16.04 install, I apt-get installed LXD originally and when I started this I've apt-get installed python-pylxd (although I've also tried a pip install and that didn't change anything). <br><br></div><div>Any ideas what's wrong?<br><br></div><div>Cheers,<br><br></div><div>Matt<br></div></div>