<div dir="ltr">The specific error you're seeing is from not having PyQT installed.  This package is the python bindings for the qt graphics library.  I'm a little puzzled that the matplotlib installer will default to the QTAgg backend when a system does not have PyQT installed, but it looks like this is the way it is.<div>

<br></div><div>I could see two ways to fix this.  Firs, you could try installing PyQT:</div><div><br></div><div>sudo apt-get install python-qt4</div><div><br></div><div>That should also install the SIP module and satisfy the ImportError you're seeing.  There might be more packages you'll need after that so there might be further ImportErrors.</div>

<div><br></div><div>You could also try switching your matplotlib backend.  You'll need to create a file named .matplotlibrc in your home folder (if it doesn't already exist), and add a line that looks like this:</div>

<div><br></div><div>backend : TkAgg</div><div><br></div><div>For more detail about matplotlib's configuration section, take a look at this: <a href="http://matplotlib.org/users/customizing.html">http://matplotlib.org/users/customizing.html</a></div>

<div><br></div><div>Cheers,</div><div><br></div><div>Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 3, 2013 at 9:43 AM, Gary Foreman <span dir="ltr"><<a href="mailto:gforema2@illinois.edu" target="_blank">gforema2@illinois.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Nathan,<div><br></div><div>Simply trying to run iyt produces the error. Here's a link with the error output I'm receiving <a href="http://pastebin.com/j11nKn58" target="_blank">http://pastebin.com/j11nKn58</a></div>


<div><br></div><div>Thanks for your help,</div><div>Gary</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Sep 3, 2013 at 11:25 AM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi Gary,<div><br></div><div>I don't think I've seen this before.</div><div><br>

</div><div>Can you paste the a small script that triggers this, along with the full traceback you get when the script errors out?</div>

<div><br></div><div>Cheers</div><span><font color="#888888"><div><br></div></font></span><div><span><font color="#888888">Nathan</font></span><div><div><span></span><br><br>On Monday, September 2, 2013, Gary Foreman  wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello,<div><br></div><div>Suddenly my yt distribution seems to be broken because it cannot find the module sip. Sip appears to be a python/C interface that is called by matplotlib.pyplot. I have tried a few things to resolve the issue, none of which have worked. I've tried: yt update --all, pip install sip, and apt-get install yt using the repository mentioned on the Get YT page. pip install and apt-get install fail for separate reasons, which I can explain in a future email if necessary.</div>




<div><br></div><div>Since first encountering this problem, I have updated my OS because I realized I was using an outdated version of Ubuntu. I am now running Ubuntu 12.4 LTS. The OS update did not resolve the issue.</div>




<div><br></div><div>It seems worth mentioning that the default system python distribution is working fine and I am able to import pyplot as well as sip without a problem. During a quick search of the yt distribution, I did not find the same sip related files that I have in my system's python distribution. </div>




<div><br></div><div>Also, as of Friday, things are working fine with the yt distribution I have on my Mac laptop.</div><div><br></div><div>Thanks very much in advance for your help. Please let me know if you would like me to post some of the error messages I have received from the few solutions that I've tried.</div>




<div><br></div><div>Gary</div></div>
</blockquote></div></div></div>
<br></div></div><div class="im">_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>