From: Gary P. <gar...@gm...> - 2010-07-14 15:15:46
|
On Wed, Jul 14, 2010 at 10:35 AM, James Mueller <mu...@pi...> wrote: > I took a look and the file distribution.dist inside the vpython installer > contains the lines > > if(!(system.files.fileExistsAtPath('/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6') > == true)) { > my.result.title = 'Need Python 2.6 from python.org'; > my.result.message = 'Python 2.6 from python.org must be installed > before installing VPython.'; > my.result.type = 'Fatal'; > return false; > } > > So it isn't looking for Current, it is looking for a specific python. > > So, if you also install the python 2.6 from python.org, this file will > exist and the visual installer will work and you will be in the same setup > as Rhett. You will have two versions of python, one with visual and one > with all the enthought libraries. > > -Jim > AHA!!! There's a typo in the Enthought distribution. The directory that should be called "2.6" is actually called "6.2" But simply renaming that directory causes other problems. I'll report it to the Enthought people. > > On Jul 14, 2010, at 9:31 AM, Gary Pajer wrote: > > On Wed, Jul 14, 2010 at 8:35 AM, Rhett Allain <ra...@se...> wrote: > >> Gary, >> >> I have essentially the same problem. The workaround I use is that if I >> launch VIDLE (in the VPython folder), it can find the vpython stuff - but it >> doesn't find the enthought stuff. If I launch some other IDLE, then it >> doesn't find the visual module. >> >> The bad part of this solution is that I can't use the visual module and >> the pylab module at the same time. >> >> Rhett >> > > How did you install Vpython? In my case, the Mac installer won't run. > -g > > >> >> >> >> On Wed, Jul 14, 2010 at 12:08 AM, Bruce Sherwood <bas...@nc...>wrote: >> >>> /Library/Frameworks/Python.framework/Versions/Current/bin/python is >>> indeed the expected location for the Python executor, so that doesn't seem >>> to be the problem, at least not in any simple sense. I use Apple >>> PackageMaker to build the Mac VPython installer, and I know nothing about >>> its criteria for recognizing the presence of Python 2.6. >>> >>> You made me realize that the Mac and Windows download pages at >>> vpython.org were out of date, as they offered Python 2.6.4. After >>> checking that the VPython installers for Mac and Windows are happy with >>> Python 2.6.5, I've updated vpython.org to offer Python 2.6.5. >>> >>> Nor had I realized that now Python 2.7 is the standard release, so I need >>> to build against that. >>> >>> Bruce Sherwood >>> >>> On Tue, Jul 13, 2010 at 8:47 PM, Gary Pajer <gar...@gm...>wrote: >>> >>>> I'm installing software on a new MacBook. I'm not yet very facile with >>>> Macs. >>>> >>>> I have python 2.6.5 from python.org installed, but the vpython >>>> installer says that I have to install python 2.6 before it will proceed. I >>>> think the problem may be that python is not installed in it's default >>>> location. Python was installed as part of the Enthought Python >>>> Distribution, which installs python and a bunch of other stuff that I use. >>>> The python executable ended up being >>>> >>>> /Library/Frameworks/Python.framework/Versions/Current/bin/python >>>> >>>> 1. Is this indeed *not* the default location for a "regular" >>>> installation of python? >>>> 2. If it is not, is that possibly the cause of my problem? >>>> 3. Can I fix it by >>>> a. creating a symbolic link somewhere (what would it be?) >>>> b. or telling vpython where to look for python (set an environment >>>> variable?) >>>> 4. Or am I wrong, and the problem lies somewhere else? >>>> >>>> Thanks, >>>> gary >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> >>> >> >> >> -- >> ================ >> Rhett Allain, Ph.D. >> Associate Professor of Physics >> Department of Chemistry and Physics >> Southeastern Louisiana University >> ra...@se... >> http://scienceblogs.com/dotphysics >> ================ >> >> >> ------------------------------------------------------------------------------ >> 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 >> >> > <ATT00001..txt><ATT00002..txt> > > > > > ------------------------------------------------------------------------------ > 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 > > |