From: SNOSWELL, M. <mic...@ba...> - 2005-05-12 06:30:12
|
I downloaded Python-2.4.1.msi and it installed fine into c:\python24 I downloaded VPython-Win-Py2.4-3.2.0.exe and when it installed I get a dialog box saying "Could not locate where Python 2.4 is installed. You will be asked where to install the Vpython extension." I click ok and then I get a directory chooser. From here I type in or Browse to c:\python24, or c:\vpython, or c:\python24\libs or c:\python24\libs\vpython. Nomatter which of these I try, or if I make the directory manually, I always get an error box saying "Could not locate where Python 2.4 is installed. You will be aske where to install the Vpython extension." I click ok on this and I get the "Select Components" box. I leave everything selected. I click Next. I leave "Create a desktop icon" selected. I click next. I get the Ready to Install box with the summary of what'll be install. The destination directory looks ok (whatever I specified it to be earlier). I click the Install button and I get an error box "You must enter a folder name." I click ok and the installation terminates. I've tried setting PYTHONPATH env variable. I tried rebooting (to pick up if python2.4 neede this). I had Python 2.2 previously installed and running fine and 2.4 runs fine. I am do NOT have administrator access on this machine but did not need it to install and run python. What am I doing wrong? Thank Michael Snoswell |
From: Gary P. <gp...@ri...> - 2005-05-12 11:25:51
|
> I downloaded Python-2.4.1.msi and it installed fine into c:\python24 > > I downloaded VPython-Win-Py2.4-3.2.0.exe and when it installed I get a > dialog box saying "Could not locate where Python 2.4 is installed. You > will > be asked where to install the Vpython extension." > > I click ok and then I get a directory chooser. From here I type in or > Browse > to c:\python24, or c:\vpython, or c:\python24\libs or > c:\python24\libs\vpython. Nomatter which of these I try, or if I make the > directory manually, I always get an error box saying "Could not locate > where > Python 2.4 is installed. You will be aske where to install the Vpython > extension." > > I click ok on this and I get the "Select Components" box. I leave > everything > selected. I click Next. I leave "Create a desktop icon" selected. I click > next. I get the Ready to Install box with the summary of what'll be > install. > The destination directory looks ok (whatever I specified it to be > earlier). > > I click the Install button and I get an error box "You must enter a folder > name." I click ok and the installation terminates. > > I've tried setting PYTHONPATH env variable. I tried rebooting (to pick up > if > python2.4 neede this). I had Python 2.2 previously installed and running > fine and 2.4 runs fine. > > I am do NOT have administrator access on this machine but did not need it > to > install and run python. > > What am I doing wrong? > > Thank > > Michael Snoswell I once had a similar problem. The problem was that I did not uninstall the old python before installing the new one. This would only be an issue when python bumps to a "new directory". I'm guessing there's a registry issue somewhere. I'm a little concerned about the privilige issue. I'm no expert here. I suppose you shouldn't have been able to do the installation. The fact that you were able to seems to indicate that you have write priviliges to c:\ . That would be odd. Perhaps (???) you somehow have write priviliges to c:\, but can't write to the registry ??? If you haven't wiped out 2.3, the best thing may be to go back to 2.3. I haven't upgraded yet. (I'm waiting for a scipy installer for 2.4) Next best: (IMHO) Try uninstalling all your pythons and then reinstalling 2.4. You have some privilges, you may have enough to clean out the old and bring in the new. -gary |
From: Bruce S. <Bru...@nc...> - 2005-05-12 13:23:32
|
It shouldn't matter that you have other versions of Python present; I have Python 2.3 on my machine as well as Python 2.4 and haven't seen such a problem. Can you say more about not having administrator access? As Gary Pajer comments, it seems odd that you could install Python if you're explicitly locked out of being permitted to do software installations. There is an option (or at least there use to be) to install Python in your own documents if you don't have installation permission. In such a "registry-less" installation the registry is not touched. My best guess is that somehow you managed to install Python 2.4 without the registry being updated, so that the VPython installer's first attempt to find python2.4 fails. It is possible that the VPython installer then does the wrong thing after asking you for a location, and I'll look into that later today. Thanks for the report. Bruce Sherwood SNOSWELL, Michael wrote: > I downloaded Python-2.4.1.msi and it installed fine into c:\python24 > > I downloaded VPython-Win-Py2.4-3.2.0.exe and when it installed I get a > dialog box saying "Could not locate where Python 2.4 is installed. You will > be asked where to install the Vpython extension." > > I click ok and then I get a directory chooser. From here I type in or Browse > to c:\python24, or c:\vpython, or c:\python24\libs or > c:\python24\libs\vpython. Nomatter which of these I try, or if I make the > directory manually, I always get an error box saying "Could not locate where > Python 2.4 is installed. You will be aske where to install the Vpython > extension." > > I click ok on this and I get the "Select Components" box. I leave everything > selected. I click Next. I leave "Create a desktop icon" selected. I click > next. I get the Ready to Install box with the summary of what'll be install. > The destination directory looks ok (whatever I specified it to be earlier). > > I click the Install button and I get an error box "You must enter a folder > name." I click ok and the installation terminates. > > I've tried setting PYTHONPATH env variable. I tried rebooting (to pick up if > python2.4 neede this). I had Python 2.2 previously installed and running > fine and 2.4 runs fine. > > I am do NOT have administrator access on this machine but did not need it to > install and run python. > > What am I doing wrong? > > Thank > > Michael Snoswell > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Joe H. <hea...@ct...> - 2005-05-12 15:27:53
|
On May 12, 2005, at 9:23 AM, Bruce Sherwood wrote: > It shouldn't matter that you have other versions of Python present; I > have Python 2.3 on my machine as well as Python 2.4 and haven't seen > such a problem. > > Can you say more about not having administrator access? As Gary Pajer > comments, it seems odd that you could install Python if you're > explicitly locked out of being permitted to do software installations. > There is an option (or at least there use to be) to install Python in > your own documents if you don't have installation permission. In such > a "registry-less" installation the registry is not touched. > > My best guess is that somehow you managed to install Python 2.4 > without the registry being updated, so that the VPython installer's > first attempt to find python2.4 fails. It is possible that the VPython > installer then does the wrong thing after asking you for a location, > and I'll look into that later today. Thanks for the report. I have similar problems with installing Python and VPython on my lab computers running Win2000. Our IT guys don't give faculty admin privileges on our lab machines. I can't install either Python or VPython correctly and IDLE will not run without admin privileges. They've set up a hack using something called "tcqrunas" to make it run but it still doesn't work correctly. Specifically, IDLE doesn't know where any VPython programs are and the default save directory was at one time visible to the entire network. In one class students were unknowingly overwriting each other's programs by saving their own programs with the same name. Changes were showing up without explanation! Our IT guys either can't or won't fix it. So much for competence. Cheers, Joe Heafner -- Astronomy/Physics Instructor (by some definitions) |
From: Dunning, R. B. <rdu...@bs...> - 2005-05-12 13:43:27
|
Michael, I've seen this before. I assume you're installing to a Windows PC. It alw= ays happens when I forget to log on to my Windows machine as administrator.= Uninstall Python, log in as the administrator (for that machine), and try= it again. Hope this helps. -- Rodney Dunning Assistant Professor of Physics Birmingham-Southern College From: SNOSWELL, Michael Sent: Thu 5/12/2005 1:29 AM To: Visual Python Maillist (vis...@li...) Subject: [Visualpython-users] Problem installing on WinXP SP2 I downloaded Python-2.4.1.msi and it installed fine into c:\python24 =20 I downloaded VPython-Win-Py2.4-3.2.0.exe and when it installed I get a dialog box saying "Could not locate where Python 2.4 is installed. You will be asked where to install the Vpython extension." I click ok and then I get a directory chooser. From here I type in or Brows= e to c:\python24, or c:\vpython, or c:\python24\libs or c:\python24\libs\vpython. Nomatter which of these I try, or if I make the directory manually, I always get an error box saying "Could not locate wher= e Python 2.4 is installed. You will be aske where to install the Vpython extension." I click ok on this and I get the "Select Components" box. I leave everythin= g selected. I click Next. I leave "Create a desktop icon" selected. I click next. I get the Ready to Install box with the summary of what'll be install= . The destination directory looks ok (whatever I specified it to be earlier). I click the Install button and I get an error box "You must enter a folder name." I click ok and the installation terminates. I've tried setting PYTHONPATH env variable. I tried rebooting (to pick up i= f python2.4 neede this). I had Python 2.2 previously installed and running fine and 2.4 runs fine. I am do NOT have administrator access on this machine but did not need it t= o install and run python. What am I doing wrong? Thank=20 Michael Snoswell ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Martin G. <mar...@co...> - 2005-05-12 16:45:40
|
Joe, How tightly locked-down is your computer lab? In particular, I'm wondering whether a live-cd solution could work for you. Now that vpython is in Debian, building a custom live-cd should be relatively straightforward, starting from Knoppix or morphix or ubuntu. If anyone's already built one, please speak up! (I don't recall mention of one on this list.) --Marty On Thursday 12 May 2005 09:27 am, Joe Heafner wrote: > On May 12, 2005, at 9:23 AM, Bruce Sherwood wrote: > > It shouldn't matter that you have other versions of Python present; I > > have Python 2.3 on my machine as well as Python 2.4 and haven't seen > > such a problem. > .... > > I have similar problems with installing Python and VPython on my lab > computers running Win2000. Our IT guys don't give faculty admin > privileges on our lab machines. I can't install either Python or > VPython correctly and IDLE will not run without admin privileges. > They've set up a hack using something called "tcqrunas" to make it run > but it still doesn't work correctly. Specifically, IDLE doesn't know > where any VPython programs are and the default save directory was at > one time visible to the entire network. In one class students were > unknowingly overwriting each other's programs by saving their own > programs with the same name. Changes were showing up without > explanation! Our IT guys either can't or won't fix it. So much for > competence. > > Cheers, > Joe Heafner -- Astronomy/Physics Instructor (by some definitions) > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users -- Martin Gelfand Associate Professor.............Phone: 970 491 5263 Department of Physics.............Fax: 970 491 7947 Colorado State University.......Email: ge...@la... Fort Collins CO 80523-1875 |
From: Jonathan B. <jbr...@ea...> - 2005-05-13 00:33:55
|
On Thu, 2005-05-12 at 10:45 -0600, Martin Gelfand wrote: > Joe, > How tightly locked-down is your computer lab? In particular, I'm wondering > whether a live-cd solution could work for you. Now that vpython is in > Debian, building a custom live-cd should be relatively straightforward, > starting from Knoppix or morphix or ubuntu. > If anyone's already built one, please speak up! (I don't recall mention of > one on this list.) I once rigged up an Autorun.ini that would load Idle when a host CDROM disk was inserted to a standard Windows machine. Here is the message I posted to the list about it last year: > Create a file named autorun.bat in the Python23 directory with this > line: > pythonw.exe .\Lib\idlelib\idle.pyw > > Also create a file autorun.inf (same place) with these contents: > [autorun] > open=autorun.bat > icon=py.ico > > Then burn the disk with the complete contents of the Python23 > directory > and you will get a Python "Live" CD that will automatically open up > IDLE > when inserted into the host computer. Running from CD isn't exactly > fast, though. The biggest slowdown will be noticed when executing > import statements. > |