|
From: Gary P. <gar...@gm...> - 2007-10-21 17:22:51
|
I've been thinking about translating the regular (non-beta) release to numpy. It wouldn't have the new features, but it would sever the ties to numeric. I wouldn't get to it before January (if then, as my tenure case is coming up ...) In the meantime, I've never used py2exe, so I may be way off base here, but is the problem namespace polution? If so, Bruce might have luck with the likes of import visual as v import numeric as nu import numpy as n import scipy as s etc. Calls to visual structures should go to Numeric ( v.sphere(), for example) and calls to scipy should go to numpy ( s.linspace() for example). I think. :) just a thought. -gary On 10/21/07, Gary Pajer <gar...@gm...> wrote: > I've been thinking about translating the regular (non-beta) release to > numpy. It wouldn't have the new features, but it would sever the ties > to numeric. I wouldn't get to it before January (if then as my > tenure case is coming up ...) > > In the meantime, I've never used py2exe, so I may be way off base > here, but is the problem namespace polution? If so, Bruce might have > luck with the likes of > > import visual as v > import numeric as nu > import numpy as n > import scipy as s > etc. > > Calls to visual structures should go to Numeric ( v.sphere(), for > example) and calls to scipy should go to numpy ( s.linspace() for > example). I think. :) > > just a thought. > > -gary > > On 10/21/07, Bruce Sherwood <Bru...@nc...> wrote: > > This is indeed awkward, but it won't get fixed very soon. > > > > On the one hand, as has been documented and you experienced, the beta > > version is buggy on Windows. I'm gearing up to work on this myself, but > > I have no prediction of when we will see improvement. > > > > On the other hand, the production version depends on numeric (and > > includes it), and there is no one available to my knowledge who can do > > the work to replace numeric with numpy in that version. The conversion > > from numeric to numpy in the beta version was done by Arthur Siegel last > > winter, just before he unexpectedly died. > > > > Scipy is more than numpy; numpy is the foundation for other components > > of scipy. > > > > Bruce Sherwood > > > > Bruce Peterson wrote: > > > I'm trying to make a distributable app with python 2.5, vpython, and > > > scipy for Windows XP. My understanding is that vpython uses the > > > numeric library while scipy uses (or is the same as ?) the numpy > > > library. This seems to cause a conflict in the namespace when I use > > > py2exe to make a distributable. Py2exe complains about most all > > > numpy/numeric modules not being found. > > > > > > > > > I noticed in beta 16 that the beta uses numpy rather than numeric. > > > However beta 16 crashes my Win XP OS -- I need to do a power cycle to > > > unfreeze it after using beta 16 with vpython demos. So switching to > > > beta 16 is out. Are there any plans on separate track for the next > > > version of vpython to only include numpy rather than numeric and > > > leave the other beta 16 features to be resolved later? > > > > > > Bruce Peterson > > > 425 466 7344 > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Visualpython-users mailing list > > > Vis...@li... > > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > |