From: Martin C. <cos...@wa...> - 2010-10-20 14:50:35
|
On 20/10/10 16:17, Bruce Sherwood wrote: > > This looks familiar, though I don't remember the solution. If you > search the archives I think you'll find this problem and its solution. > I think it's a Boost problem. The patch needed for boost-1.35 to work with python-2.6.x (x >= 3) can be obtained from boost svn via the command (1 line) svn diff -r56304:56305 http://svn.boost.org/svn/boost/trunk/libs/python/src/object/class.cpp -- Martin > On Wed, Oct 20, 2010 at 5:41 AM, Baker D.J.<D.J...@so...> wrote: >> Hello, >> >> Thank you to those who helped me with the installation of the python visual module. It turns out that I forgot to install one of the dependencies. Having got visual to install I now find that it will not run -- error output shown below. Is this a bug in python (v2.6.5) or boost (v1.35.0), and more to the point is there a relatively easy workaround? Please could someone advise me on the best course of action. I have a sinking feeling that the advice will be to upgrade python. >> >> Best -- David. >> >>>>> import visual >> Traceback (most recent call last): >> File "<stdin>", line 1, in<module> >> File "/local/software/rh52/python/2.6.5/gcc/lib/python2.6/site-packages/visual/__init__.py", line 59, in<module> >> import cvisual >> AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only |