From: Bruce S. <bas...@nc...> - 2010-07-09 16:14:27
|
Here's what is said about this on the Linux download page at vpython.org, valid for both 32-bit and 64-bit Ubuntu: First check to see whether VPython is already available as a package for your Linux. For example, there is a "python-visual" package on Ubuntu. (Unfortunately, this package for Ubuntu 9.10 is broken; to make it work you need to install the Boost 1.38 libraries referenced below. The package for Ubuntu 10.04 does work, and you might consider upgrading to 10.04.). So no, you shouldn't have to do anything special about the Boost libraries. The python-visual package should resolve all dependencies, and this package does work on Ubuntu 10.04, both 32-bit and 64-bit (or at least it works on my own 32-bit and 64-bit machines). The symptom would seem to indicate a problem with the graphics driver, but you say you're using the NVIDIA driver, and glxgear works, so I don't know what can be the source of your problem. Bruce Sherwood On Fri, Jul 9, 2010 at 9:24 AM, Venkat Ramanan <ven...@gm...>wrote: > Hi all, > > Last week I updated my ubuntu to 10.04 64 bit. I then installed vpython > from default ubuntu repositories. > > But even a minimal vpython program gives a segfault. > > $ python > Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) > [GCC 4.4.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from visual import * > >>> sphere() > Segmentation fault > > I remember for the last Ubuntu (9.10), I had to update the boost library to > get it working. Does the same problem exist under 10.04? > > I'm using Nvidia binary drivers. glxgears works fine. I'd be grateful for > any hints to make it work again. > > >>> import visual > >>> visual.version > ('5.12', 'release') > > Thanks, > Venkat. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |