Python - Rpy2 - Can't import a bunch of packages
<p>I've just started using rpy2 with Python.  I've installed it and am able to do basic things, like call R's plot function from inside Python.  For everything I've done, I've used import calls like:</p>

<pre><code>import rpy2
import rpy2.robjects
</code></pre>

<p>From robjects I can do most things I want to do.  However, if I want to use things like ggplot2, I am unable to get the relevant imports to work.  Following the steps <a href="http://rpy.sourceforge.net/rpy2/doc-dev/html/graphics.html#graphics" rel="nofollow">here</a>, I try:</p>

<pre><code>from rpy2.robjects.packages import importr
</code></pre>

<p>But I get an error message telling me that there is no module called "packages."  I'm not really sure why this is happening, as I am able to import other things from robjects, like rpy2.robjects.numpy2ri.  I'm hoping this is some obvious problem other people have dealt with!  I did some googling and tried messing around with the env variable $PYTHONPATH but I don't think that is the issue.  </p>
