It is not required. I have added javascript files in Manifest file. a
simple setup.py install should be enough.
Also I am getting a theano error while running simulate.py

<code>
/media/tarun/6A86CA8286CA4DEF/develop/pydy/examples/double_pendulum/simulate.py
in <module>()
      5
      6 from numpy import concatenate, array, linspace
----> 7 from pydy.codegen.code import generate_ode_function
      8 from scipy.integrate import odeint
      9

/home/tarun/local/anaconda/lib/python2.7/site-packages/pydy-0.1.0-py2.7.egg/pydy/codegen/code.py
in <module>()
     13 from sympy.printing.ccode import CCodePrinter
     14 try:
---> 15     from sympy.printing.theanocode import theano_function
     16     theano_installed = True
     17 except ImportError:

/home/tarun/local/anaconda/lib/python2.7/site-packages/sympy-0.7.5-py2.7.egg/sympy/printing/theanocode.py
in <module>()
     29             sympy.acos: tt.arccos,
     30             sympy.sin: tt.sin,
---> 31             sympy.asin: tt.arcsin,
     32             sympy.tan: tt.tan,
     33             sympy.atan: tt.arctan,

AttributeError: 'module' object has no attribute 'arcsin'

</code>

Any ideas how to fix this?


On Mon, May 5, 2014 at 9:11 PM, Christopher Dembia <notifications@github.com
> wrote:

> In examples/double_pendulum/visualize.py:
>
> > @@ -0,0 +1,72 @@
> > +"""
> > +This file will use pydy.viz to visualize the double pendulum.  Run this script
> > +via a command line:
> > +
> > +    $ python visualization.py
> > +
> > +Note that you must add the pydy/viz directory to your PYTHONPATH for the
> > +visualization to work:
> > +
> > +    $ export PYTHONPATH=$PYTHONPATH:/path/to/pydy/viz
> > +
> > +On my machine, I use:
> > +
> > +    $ export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/pydy-0.1.0-py2.7.egg/pydy/viz
>
> I didn't actually try without adding pydy/viz to PYTHONPATH. I just copied
> those instructions from one of your PR's. I'll try without.
>
> The purpose, as I understand, is for the javascript side, not for
> importing pydy.viz inside python.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pydy/pydy/pull/49/files#r12284156>
> .
>