From: Luke <haz...@gm...> - 2010-03-31 05:46:37
|
Has anybody successfully installed Visual Python on the new Ubuntu 10.04 LTS beta1? If so, it would be great to hear about what the steps were; from my understanding, the default packages in the repositories don't work out of the box. I'm looking at upgrading in the coming weeks and it would be great if Visual Python would just work, like it used to. What needs to happen in order for the neccessary fixes / patches to make it into 10.04? ~Luke |
From: Gary P. <gar...@gm...> - 2010-04-07 17:19:15
|
A boost bug still exists in 10.04 beta1. See https://bugs.launchpad.net/ubuntu/+source/boost1.40/+bug/539049 I'm not 100% sure that this is the culprit, but it may be. I contributed to the existing bug report on this, and that seemed to generate some activity. *Something* has been fixed and put into the repositories for the release, but I'm not yet sure that it fixes the problem. I have had problems (unrelated) getting my 10.04 working properly so I haven't been able to see if they fixed the right thing. We'll have to keep an eye on this when the next beta and release candidates come around, and make more and more noise as the release date (April 30, I think) gets closer. You might try the improved boost if you can figure out how to install it. I haven't tried yet since my installation is a little gronked. -gary On Wed, Mar 31, 2010 at 1:46 AM, Luke <haz...@gm...> wrote: > Has anybody successfully installed Visual Python on the new Ubuntu 10.04 > LTS beta1? If so, it would be great to hear about what the steps were; from > my understanding, the default packages in the repositories don't work out of > the box. > > I'm looking at upgrading in the coming weeks and it would be great if > Visual Python would just work, like it used to. What needs to happen in > order for the neccessary fixes / patches to make it into 10.04? > > ~Luke > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Ron A. <rr...@ro...> - 2010-04-08 02:16:46
|
On 04/07/2010 12:19 PM, Gary Pajer wrote: > A boost bug still exists in 10.04 beta1. > > See > https://bugs.launchpad.net/ubuntu/+source/boost1.40/+bug/539049 > I'm not 100% sure that this is the culprit, but it may be. > > I contributed to the existing bug report on this, and that seemed to > generate some activity. *Something* has been fixed and put into the > repositories for the release, but I'm not yet sure that it fixes the > problem. I have had problems (unrelated) getting my 10.04 working > properly so I haven't been able to see if they fixed the right thing. > We'll have to keep an eye on this when the next beta and release > candidates come around, and make more and more noise as the release date > (April 30, I think) gets closer. > > You might try the improved boost if you can figure out how to install > it. I haven't tried yet since my installation is a little gronked. I upgraded to 10.04 beta today and after a *lot* of trouble booting... Well it is still beta... I was able to install python-visual 1:5.12-1.1 with libboost-python1.40.0 using synaptic. I can now run vpython programs again. :-) In Karmic I was getting crashes with "GdkGLExt-WARNING **: Cannot open \xe8\u0002\xc7\u0008L" errors. The suggested PPA at "https://launchpad.net/~ajmitch/+archive/ppa" didn't work for me. I'm not sure why. So it does look like they got something fixed. On a different note: I came across something which was just a minor annoyance, but maybe worth fixing. ra@Gutsy:~$ python Python 2.6.5 (r265:79063, Apr 3 2010, 01:56:30) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import random >>> from visual import * >>> random.choice(range(7)) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'choice' >>> import random >>> random.choice(range(7)) 6 I don't think this was an issue with earlier versions of visual. Ron |
From: Guy K. K. <g....@ma...> - 2010-04-08 02:29:35
|
On Thu, 08 Apr 2010 14:16:00 Ron Adam wrote: > On a different note: > > I came across something which was just a minor annoyance, but maybe worth > fixing. > > ra@Gutsy:~$ python > Python 2.6.5 (r265:79063, Apr 3 2010, 01:56:30) > [GCC 4.4.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import random > >>> from visual import * > >>> random.choice(range(7)) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > AttributeError: 'module' object has no attribute 'choice' > >>> import random > >>> random.choice(range(7)) > 6 I wouldn't bet on it, but I could imagine that this has got something to do with the wild card imports within visual from numpy as well as certain other modules. I've voted for some cleaning and sanity in there, and I hope that's going to happen some day. Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9266 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |
From: Bruce S. <Bru...@nc...> - 2010-04-08 15:10:01
|
Guy is correct. Turns out that numpy contains a module numpy.random (which offers an extensive range of randomization options), and because numpy is imported by Visual, the numpy.random module overrides the earlier random import. Bruce Sherwood On 4/7/2010 10:29 PM, Guy K. Kloss wrote: > On Thu, 08 Apr 2010 14:16:00 Ron Adam wrote: > >> On a different note: >> >> I came across something which was just a minor annoyance, but maybe worth >> fixing. >> >> ra@Gutsy:~$ python >> Python 2.6.5 (r265:79063, Apr 3 2010, 01:56:30) >> [GCC 4.4.3] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> import random >> >>> from visual import * >> >>> random.choice(range(7)) >> Traceback (most recent call last): >> File "<stdin>", line 1, in<module> >> AttributeError: 'module' object has no attribute 'choice' >> >>> import random >> >>> random.choice(range(7)) >> 6 >> > I wouldn't bet on it, but I could imagine that this has got something to do > with the wild card imports within visual from numpy as well as certain other > modules. I've voted for some cleaning and sanity in there, and I hope that's > going to happen some day. > > Guy > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |