Re: Visual won't load/run with python 2.6.5
Martin Costabel <[email protected]>
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
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.<[email protected]> 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 ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev