From: Scott H. <sc...@fl...> - 2013-02-12 20:32:39
|
I too use EPD. On my machine, the VPython installer doesn't detect EPD and won't install. I'm on OS X 10.8.2 This is my python: Enthought Python Distribution (EPD) free version -- www.enthought.com Version: 7.3-2 (32-bit) (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "credits", "demo" or "enthought" for more information. Getting VPython to work with EPD would be great. Thanks, -Scott Scott Harris sc...@fl... 37 Doe Trail POB 1278 Nederland CO 80466-1278 720/231-6533 (cell) 303/258-0142 (office) On Feb 11, 2013, at 8:55 AM, Adam O Hausknecht <aha...@um...> wrote: > Hi, > > I have just attempted to install VPython 6.0.2 on a Intel Core I7 MacBoook Pro running Mac OS 10.8.2 and > get a message shown below: > > > --------------------------------------------------------- > Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "copyright", "credits" or "license()" for more information. > >>> ================================ RESTART ================================ > >>> > > Traceback (most recent call last): > File "Untitled", line 1 > from visual import * > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/__init__.py", line 1 > from .visual_all import * > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/visual_all.py", line 1 > from vis import version > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/__init__.py", line 3 > from .cvisual import (vector, dot, mag, mag2, norm, cross, rotate, > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/cvisual.so, 2): no suitable image found. Did find: > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/cvisual.so: mach-o, but wrong architecture > ---------------------------------------------------------------------------------------------------------------------- > > The program I tried is : > > ------------------------------- > from visual import * > sphere() > ---------------------------- > > Also, a VPythom folder with sample programs is NOT created. Thus, the "visual" help item on VIDLE'S help menu also fails. > > Finally, I also use Enthought's Python distribution for scientific computing. Could these interfere with each other? > Can Visual Python be installed within Enthought's distribution? I think Enthought uses a Numpy 1.6x. > > Regards and thanks for all your work! > > Adam Hausknecht > > Professor Adam O. Hausknecht > Department of Mathematics > UMass Dartmouth > 285 Old Westport Road > North Dartmouth, MA 02747 > Office: Arts and Sciences 394B > Email: aha...@um... > Phone: 508-999-8322 > > From: vis...@li... > To: vis...@li... > Sent: Monday, February 11, 2013 2:00:07 AM > Subject: Visualpython-users Digest, Vol 80, Issue 1 > > Send Visualpython-users mailing list submissions to > vis...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/visualpython-users > or, via email, send a message with subject or body 'help' to > vis...@li... > > You can reach the person managing the list at > vis...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Visualpython-users digest..." > > > Today's Topics: > > 1. On windows-8 tablet (Shin-ichiro Tanaka / ?????) > 2. New contributed program (Bruce Sherwood) > 3. (no subject) (Joel Kahn) > 4. VPython 6.02 with buttons, sliders, and new event handling > capabilities (Bruce Sherwood) > 5. Re: VPython 6.02 with buttons, sliders, and new event > handling capabilities (Bruce Sherwood) > 6. Re: VPython 6.02 with buttons, sliders, and new event > handling capabilities (Bruce Sherwood) > 7. Re: VPython 6.02 with buttons, sliders, and new event > handling capabilities (Bruce Sherwood) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 30 Jan 2013 15:34:07 +0900 > From: Shin-ichiro Tanaka / ????? <st...@sa...> > Subject: [Visualpython-users] On windows-8 tablet > To: vis...@li... > Message-ID: <93C...@sa...> > Content-Type: text/plain; charset=iso-2022-jp > > > Hi, > > I have been using Vpython on Windows 7 and XP machines, either > with EPD(enthght python disribution) and Pythonxy distribution. > > It is amazing. Then I installed Vpython(Ver 5.74 for win32 on > python2.73) on an windows-8 tablet (ASUS ME400c, Atom Z2760, > 2GByte memory). However, it does not work. The "Vypthon" window > opens but it hangs up. > > Does anyone know how to do with it? I keenly would like to show > the physical simulation to students on my physics lecture. > > Thanks in advance. > > ---------------------------------------------- > > Shin-ichiro Tanaka "?????" > Associate professor > The institute of Scientific and Industrial Research, Osaka University > TEL:06-6879-8491, FAX:06-6879-8494 > ?????????????567-0047 ?????????? > > > > ------------------------------ > > Message: 2 > Date: Wed, 6 Feb 2013 11:28:47 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: [Visualpython-users] New contributed program > To: vpusers <vis...@li...> > Message-ID: > <CAFDG03hCmtm+QJ_9WhymJKFm69pVCTYHMM-YAzNO+jH=xG...@ma...> > Content-Type: text/plain; charset="utf-8" > > Owen Long has contributed an interesting program that displays the odd > behavior of a book rotating in 3D space, now available in the Contributed > section of vpython.org. > > Because there are no torques acting on the book, the (vector) angular > momentum does not change, but the (vector) angular velocity does change, > and the visual effect is that the book tumbles in an unexpected way. > > You can see this effect in the real world. Try flipping a book or a tennis > racket in the air. You'll find that if the object rotates around its long > axis or the axis perpendicular to the largest side, the rotation is stable. > If however you flip it around the third axis, no matter how carefully you > try to flip it exactly around that axis, you'll see that the object tumbles. > > Bruce Sherwood > > P.S. Steve Spicklemire and I believe that we're very close to the next > release of the wxPython-based VPython 6. All that remains is some > documentation and some cleanups of keyboard issues. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Wed, 6 Feb 2013 15:48:46 -0800 (PST) > From: Joel Kahn <jj...@ya...> > Subject: [Visualpython-users] (no subject) > To: "ari...@su..." <ari...@su...>, > "do...@do..." <do...@do...>, > "vis...@li..." > <vis...@li...>, "con...@gl..." > <con...@gl...>, "sta...@op..." > <sta...@op...>, > "dr...@us..." <dr...@us...>, > "ca...@us..." <ca...@us...>, "us...@ip..." <us...@ip...> > Message-ID: > <136...@we...> > Content-Type: text/plain; charset="us-ascii" > > > > > http://trainer.com.pa/wck/yvylzm > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 4 > Date: Sat, 9 Feb 2013 23:24:42 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: [Visualpython-users] VPython 6.02 with buttons, sliders, and > new event handling capabilities > To: vpusers <vis...@li...> > Message-ID: > <CAFDG03jfZib4CRw2_-yXZc3K_wvLyq0ii3s=Nmh...@ma...> > Content-Type: text/plain; charset="utf-8" > > Now available on the download pages at vpython.org is VPython 6.02, the > product of a collaboration between Steve Spicklemire and me. This version > is based on the cross-platform library wxPython. It has two powerful new > features: > > (1) You can put a VPython 3D display in a window that also has wxPython > buttons, sliders, etc. that have a native look and feel on all platforms. > See the new example program widgets.py. (We haven't experimented with > automatic layout mechanisms provided by wxPython, which may require some > revision of the new VPython.) > > (2) In addition to the existing ways to handle mouse and keyboard events, > there are powerful new "callback" mechanisms for handling events. Among > much else, this provides a way to catch keyboard release events, which some > users have wanted for a long time. > > Our experience so far is that existing programs will run with VPython 6.02, > unless there is an animation loop that does not contain a rate() statement > (which is now obligatory), and if you import graph or controls or > filedialog you must first import visual or vis. We encourage you to try > your programs and provide test cases that do not run properly even after > making these two adaptations. > > There is one known bug with old programs, which is that materials.rough and > materials.marble do not display correctly on a Macintosh, and the cause is > currently unknown. > > There is one known bug with new programs, which is that pull-down menus (a > new feature made possible thanks to wxPython) do not work on a Macintosh. > This problem is partly understood, but there isn't yet a fix for the > problem. > > There is a likely bug on Linux, in that wxPython does not currently report > window metrics such as the height of a menu bar. For that reason, at the > moment these metrics are hard-coded and are likely to be wrong for some > Linux or some window manager on some Linux. Please let us know about your > experience in this regard. > > Bruce Sherwood > > P.S. At the start of every semester there is a big spike in VPython > installer downloads due to the start of classes in which VPython is used. > Last month there were about 10,000 downloads, and there were considerable > charges for excess data transfer from the vpython.org web site. For that > reason, the installers have been moved to sourceforge.net, which provides > free downloads for open-source projects like VPython. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 5 > Date: Sat, 9 Feb 2013 23:29:31 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, > and new event handling capabilities > To: vpusers <vis...@li...> > Message-ID: > <CAF...@ma...> > Content-Type: text/plain; charset="utf-8" > > I should add that VPython 6.02 works with 64-bit versions of Python on all > platforms. > > Bruce Sherwood > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 6 > Date: Sun, 10 Feb 2013 20:04:39 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, > and new event handling capabilities > To: vpusers <vis...@li...> > Message-ID: > <CAFDG03g-=HOK...@ma...> > Content-Type: text/plain; charset="utf-8" > > One other thing: There isn't a version of VPython 6 for Python 3.x because > there isn't yet a Python 3.x version of wxPython, on which VPython 6 is > based. The wxPython developers are actively working on a version for Python > 3.x, but I don't know when it will be available. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 7 > Date: Sun, 10 Feb 2013 23:59:58 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, > and new event handling capabilities > To: vpusers <vis...@li...> > Message-ID: > <CAF...@ma...> > Content-Type: text/plain; charset="utf-8" > > My mistake. I had misunderstood the status of the "Phoenix" project, a > rewrite of wxPython that can be used with Python 3. I just now tried using > the Phoenix version, and after some very minor changes just about > everything but labels worked (and that's probably easy to fix). > > Bruce Sherwood > > On Sun, Feb 10, 2013 at 8:04 PM, Bruce Sherwood <Bru...@nc...>wrote: > > > One other thing: There isn't a version of VPython 6 for Python 3.x because > > there isn't yet a Python 3.x version of wxPython, on which VPython 6 is > > based. The wxPython developers are actively working on a version for Python > > 3.x, but I don't know when it will be available. > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > ------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > End of Visualpython-users Digest, Vol 80, Issue 1 > ************************************************* > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |