By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,508 Members | 1,856 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,508 IT Pros & Developers. It's quick & easy.

Installing Python 2.6 on Vista

P: n/a
Hello guys,

Not sure if this is a Windows question or a Python problem...

I'm trying to install Python 2.6 from the msi, on Windows Vista as an
administrative user with UAC on. If I try to install for all users
then I am told I don't have privileges to do that... (No UAC prompt.)

The only other user on the machine is the standard guest account, so
it isn't an issue, I just wondered why this would be?

Michael
--
http://www.ironpythoninaction.com/
Nov 9 '08 #1
Share this Question
Share on Google+
7 Replies


P: n/a
On Sun, Nov 9, 2008 at 4:14 PM, Fuzzyman <fu******@gmail.comwrote:
Hello guys,

Not sure if this is a Windows question or a Python problem...

I'm trying to install Python 2.6 from the msi, on Windows Vista as an
administrative user with UAC on. If I try to install for all users
then I am told I don't have privileges to do that... (No UAC prompt.)

The only other user on the machine is the standard guest account, so
it isn't an issue, I just wondered why this would be?
There is a "Vista note" in http://www.python.org/download/releases/2.6/

runas /user:Administrator "msiexec /i <path>\<file>.msi"

Does that work for you ?
Michael
--
http://www.ironpythoninaction.com/
--
http://mail.python.org/mailman/listinfo/python-list


--
-- Guilherme H. Polo Goncalves
Nov 9 '08 #2

P: n/a
On Nov 9, 6:23*pm, "Guilherme Polo" <ggp...@gmail.comwrote:
On Sun, Nov 9, 2008 at 4:14 PM, Fuzzyman <fuzzy...@gmail.comwrote:
Hello guys,
Not sure if this is a Windows question or a Python problem...
I'm trying to install Python 2.6 from the msi, on Windows Vista as an
administrative user with UAC on. If I try to install for all users
then I am told I don't have privileges to do that... (No UAC prompt.)
The only other user on the machine is the standard guest account, so
it isn't an issue, I just wondered why this would be?

There is a "Vista note" inhttp://www.python.org/download/releases/2.6/

runas /user:Administrator "msiexec /i <path>\<file>.msi"
Heh. Well it would, except the administrator user doesn't have a
password (purely a VM) and this is unacceptable for runas. :-)

Michael
>
Does that work for you ?
Michael
--
http://www.ironpythoninaction.com/
--
http://mail.python.org/mailman/listinfo/python-list

--
-- Guilherme H. Polo Goncalves
Nov 9 '08 #3

P: n/a
Heh. Well it would, except the administrator user doesn't have a
password (purely a VM) and this is unacceptable for runas. :-)
There is, unfortunately, no other way to install Python 2.6 on Vista.
So your choices are really:
1. activate the Administrator account
2. disable UAC
3. go back to XP
4. go back to Python 2.5

Regards,
Martin
Nov 9 '08 #4

P: n/a
On Nov 9, 7:39*pm, "Martin v. Lwis" <mar...@v.loewis.dewrote:
Heh. Well it would, except the administrator user doesn't have a
password (purely a VM) and this is unacceptable for runas. :-)

There is, unfortunately, no other way to install Python 2.6 on Vista.
So your choices are really:
1. activate the Administrator account
2. disable UAC
3. go back to XP
4. go back to Python 2.5

Regards,
Martin
It installs fine for 'just me', so no problem. I was just curious as
to why I couldn't install it for all users. Even for a VM I should
probably set an admin password.

Thanks

Michael
--
http://www.ironpythoninaction.com/
Nov 9 '08 #5

P: n/a
It installs fine for 'just me', so no problem.

It installs for 'just me', but it doesn't work. Just try starting
IDLE, or import the socket module.

Regards,
Martin
Nov 9 '08 #6

P: n/a
Fuzzyman wrote:
On Nov 9, 7:39 pm, "Martin v. Lwis" <mar...@v.loewis.dewrote:
>>Heh. Well it would, except the administrator user doesn't have a
password (purely a VM) and this is unacceptable for runas. :-)
There is, unfortunately, no other way to install Python 2.6 on Vista.
So your choices are really:
1. activate the Administrator account
2. disable UAC
3. go back to XP
4. go back to Python 2.5

Regards,
Martin

It installs fine for 'just me', so no problem. I was just curious as
to why I couldn't install it for all users. Even for a VM I should
probably set an admin password.

The way I worked this was to run a command window as administrator and
then run the installer from the command line.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/

Nov 10 '08 #7

P: n/a
Martin v. Lwis wrote:
>It installs fine for 'just me', so no problem.

It installs for 'just me', but it doesn't work. Just try starting
IDLE, or import the socket module.

Regards,
Martin
See bug 3296 (and its patch).
If the import produces a warning, Idle's improper use of the
format_warning and show_warning stuff turns the waning into an error.
--Scott David Daniels
Sc***********@Acm.Org
Nov 12 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.