From: Bruce S. <Bru...@nc...> - 2012-07-16 22:16:24
|
Oh, now I see. I hadn't read your note sufficiently carefully, and I wasn't aware that someone had gone to the trouble of providing 64-bit builds of VPython for Windows, which is great. I should add to vpython.org a link to this work. Norm Derby tells me this: ---------------------------------------------- The website referenced by Gerrat Rickert: http://www.lfd.uci.edu/~gohlke/pythonlibs/#vpython is maintained by Christoph Gohlke at UC-Irvine. It is wonderful. He has produced unofficial versions VPython for 64-bit Windows and LOTS of other Python programs that do not yet have official 64-bit versions. I have installed Python 3.1 64-bit and a VPython version that runs under it. Unlike Gerrat, my installation included Vidle and everything works like a charm. ------------------------------------------------ There remains the question of why this works for Derby but not for you, and I have no idea. General comment: Note that these 64-bit versions are for Windows, not Mac. A 64-bit Mac version requires major restructuring of VPython to function in the Cocoa framework. As I indicated in an earlier note, I'm working on a possible solution to that problem. Bruce Sherwood On Mon, Jul 16, 2012 at 2:39 PM, Gerrat Rickert <gri...@co...> wrote: > In my question, I included the link where *unofficial* versions of many python 3rd party libraries have been compiled to 64bit. > ...and I mentioned that it was unofficial. > ...not sure why you think its a puzzle that anything works - this is probably the first 64bit library on this site I've run into issues with (and exiting the interactive python interpreter when the display window is closed is mostly just an inconvenience). > > I know there is no official version, but like many with 64bit computers, I'd prefer to use 64bit programs. I have over a dozen of other 64bit python 3rd party libs installed, and working correctly, downloaded from the page I linked to (...since there weren't any official 64bit versions of these either). > > > ...so reading into your "answer", I'll surmise that: > 1. The 32bit version doesn't have this issue. > 2. You don't know why it doesn't work for this unofficial 64bit version. > > > Thanks for your time. > > >> -----Original Message----- >> From: Bruce Sherwood [mailto:Bru...@nc...] >> Sent: July 16, 2012 4:18 PM >> To: vis...@li... >> Subject: Re: [Visualpython-users] Python Interpreter exits when Display >> window is closed >> >> The deep puzzle is why anything works at all, as there isn't a version >> of VPython that has been built for Windows 64-bit Python. Here are the >> instructions on the Windows download page at vpython.org: >> >> First, download and install Python-2.7.2 (Important: Let it install in >> C:\Python27) >> (There is not a VPython version for Windows 64-bit Python, but this 32- >> bit version of Python works fine on 64-bit Windows machines) Second, >> download and install VPython-Win-Py2.7-5.74 >> >> Bruce Sherwood >> >> On Mon, Jul 16, 2012 at 12:39 PM, Gerrat Rickert >> <gri...@co...> wrote: >> > I’m running the 64-bit version of VPython 5.72 >> > (http://www.lfd.uci.edu/~gohlke/pythonlibs/#vpython), on Windows 7, >> > with a normal, 64bit python 2.7.2 interpreter (not Vidle). >> > >> > I realize this isn’t an “official” version of VPython, but seems to >> > work otherwise. >> > >> > >> > >> > From the interactive python prompt, with a simple program like: >> > >> > from visual import * >> > >> > sphere() >> > >> > >> > >> > It displays the sphere, but when I close the Display window, the >> > python interpreter itself exits. >> > >> > Is there a way to prevent this? >> > >> > >> > >> > ...I can’t seem to use Vidle, if that’s the solution...either the >> > 64bit version doesn’t install it correctly, or I’m not invoking it >> > correctly (there is no desktop shortcut, and when I run idle.bat from >> > the command line I get a “Windows cannot find ‘idle.pyw’. Make sure >> > you typed the name correctly, and then try again”.) There is a file, >> > idle.pyw in the vidle directory, so I’m not sure why it can’t find >> it. >> > >> > >> > >> > Thanks for any assistance, >> > >> > Gerrat >> > >> > >> > >> > >> > --------------------------------------------------------------------- >> - >> > -------- >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> > Discussions will include endpoint security, mobile security and the >> > latest in malware threats. >> > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > Visualpython-users mailing list >> > Vis...@li... >> > https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > >> >> ----------------------------------------------------------------------- >> ------- >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions will include endpoint security, mobile security and the >> latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users |