473,287 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Python Windows Installation

I am trying to install Python 2.5 on Windows XP. It installs into the
root directory on C:\ instead of C:\Python25 which it shows by default
as what it plans to install to. Selecting D:\Python25 on a previous
iteration put the exe in D:\ and did not create a Python25 directory.
On the most recent iteration, when requesting an install to D:
\Python25 it appears to have put files on C:\. I am installing on
Windows XP Professional. When it asks me for whether I want to install
for all users or just me, I select just me. I do not have admin rights
on the machine.

Oct 24 '07 #1
14 2167
I manually created C:\Python25 the reran the install program. The
installation program noted that C:\Python25 existed and asked me if I
still wanted to install there. After I said yes it installed to C:\.
Oct 24 '07 #2
With C:\Python25 already existing, I tried to install to C:
\Python25\Python25. It installed to C:\.

Oct 24 '07 #3
TheFlyingDutchman wrote:
I am trying to install Python 2.5 on Windows XP. It installs into
the root directory on C:\ instead of C:\Python25
BTW, what exactly is behind the idea to install to c:\python25
instead of %PROGRAMFILES%\python25?

Regards,
Björn

--
BOFH excuse #339:

manager in the cable duct

Oct 24 '07 #4
On Oct 24, 7:27 am, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n...@spamgourmet.comwrote:
TheFlyingDutchman wrote:
I am trying to install Python 2.5 on Windows XP. It installs into
the root directory on C:\ instead of C:\Python25

BTW, what exactly is behind the idea to install to c:\python25
instead of %PROGRAMFILES%\python25?

Regards,

Björn

--
BOFH excuse #339:

manager in the cable duct
That's just the default place that Python wants to install to. I
suppose one reason for this is because DOS is stupid when it comes to
spaces in paths. Other than that, I don't know why the Python
developers chose that as the default location.

Mike

Oct 24 '07 #5
TheFlyingDutchman <zz******@aol.comwrote:
>
I am trying to install Python 2.5 on Windows XP. It installs into the
root directory on C:\ instead of C:\Python25 which it shows by default
as what it plans to install to. Selecting D:\Python25 on a previous
iteration put the exe in D:\ and did not create a Python25 directory.
Where did you get the installer? I've installed Python on Windows many,
many times, and have never seen this issue.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Oct 25 '07 #6
Dennis Lee Bieber wrote:
Besides preferring an install path that doesn't have spaces...
Which I don't understand (works best for me, and is best practice in
Windows).
On a proper XP (or later) system, one needs ADMIN privileges to
install/modify the contents of %PROGRAMFILES%. Any user can
probably install to a top-level "python25" directory.
Really? That's a strange world. The normal place for user stuff is
his Files directory.

But it would be no problem to make a Python25 directory
user-writable, no matter where it is.

Regards,
Björn

--
BOFH excuse #58:

high pressure system failure

Oct 25 '07 #7
On Oct 24, 11:22 pm, Tim Roberts <t...@probo.comwrote:
TheFlyingDutchman <zzbba...@aol.comwrote:
I am trying to install Python 2.5 on Windows XP. It installs into the
root directory on C:\ instead of C:\Python25 which it shows by default
as what it plans to install to. Selecting D:\Python25 on a previous
iteration put the exe in D:\ and did not create a Python25 directory.

Where did you get the installer? I've installed Python on Windows many,
many times, and have never seen this issue.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
from python.org. I doubt many people get this or it would be fixed
but it still is shocking how it can prompt me that the installation
directory exists - showing that it fully knows where it is supposed to
install it - and then go ahead and install it to the root directory
and claim success. It also uninstalls Python if you ask it to so any
screwy settings from a previous install should be removed after the
uninstall, but it also fails to install correctly after an uninstall.

Oct 25 '07 #8
On Oct 25, 12:36 pm, TheFlyingDutchman <zzbba...@aol.comwrote:
On Oct 24, 11:22 pm, Tim Roberts <t...@probo.comwrote:
TheFlyingDutchman <zzbba...@aol.comwrote:
>I am trying to install Python 2.5 on Windows XP. It installs into the
>root directory on C:\ instead of C:\Python25 which it shows by default
>as what it plans to install to. Selecting D:\Python25 on a previous
>iteration put the exe in D:\ and did not create a Python25 directory.
Where did you get the installer? I've installed Python on Windows many,
many times, and have never seen this issue.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

from python.org. I doubt many people get this or it would be fixed
but it still is shocking how it can prompt me that the installation
directory exists - showing that it fully knows where it is supposed to
install it - and then go ahead and install it to the root directory
and claim success. It also uninstalls Python if you ask it to so any
screwy settings from a previous install should be removed after the
uninstall, but it also fails to install correctly after an uninstall.
I've never had any problems getting Python to install on Windows XP
SP2. I have had a few issues with getting Python in the system path,
especially when I have multiple versions of Python installed.

My guess is that Windows itself may be getting goofy. I know that if I
use Windows heavily for a year and a half or so (uninstalling and
installing lots of programs), it usually starts acting flakey. A fresh
install of the OS always helps those situations.

Alternatively, you could just change the directory to "C:\Py", install
it there and then rename it "C:\Python25". Then go to the registry and
do a search and replace as well as make sure the Environmental
Settings are fixed accordingly. Yes, it is a pain.

Mike

Oct 25 '07 #9
Bjoern Schliessmann wrote:
Dennis Lee Bieber wrote:
>Besides preferring an install path that doesn't have spaces...

Which I don't understand (works best for me, and is best practice in
Windows).
Best practice? Says who?

/W
Oct 25 '07 #10
Wildemar Wildenburger wrote:
Bjoern Schliessmann wrote:
>Which I don't understand (works best for me, and is best practice
in Windows).

Best practice? Says who?
Ok, LOL. So, now you expect me to cite some official source? Despite
the fact that the vast majority of windows installers on this
planet use "%PROGRAMFILES%\Program Name" as default installation
path, particularly the ones for Microsoft's programs?

Regards,
Björn

--
BOFH excuse #227:

Fatal error right in front of screen

Oct 26 '07 #11
On Oct 25, 6:36 pm, TheFlyingDutchman <zzbba...@aol.comwrote:
On Oct 24, 11:22 pm, Tim Roberts <t...@probo.comwrote:
TheFlyingDutchman <zzbba...@aol.comwrote:
>I am trying to install Python 2.5 on Windows XP. It installs into the
>root directory on C:\ instead of C:\Python25 which it shows by default
>as what it plans to install to. Selecting D:\Python25 on a previous
>iteration put the exe in D:\ and did not create a Python25 directory.
Where did you get the installer? I've installed Python on Windows many,
many times, and have never seen this issue.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

from python.org. I doubt many people get this or it would be fixed
but it still is shocking how it can prompt me that the installation
directory exists - showing that it fully knows where it is supposed to
install it - and then go ahead and install it to the root directory
and claim success. It also uninstalls Python if you ask it to so any
screwy settings from a previous install should be removed after the
uninstall, but it also fails to install correctly after an uninstall.
I've never had this problem with the Python.org windows installer.

However I did once use a machine where Python had been installed into
'c:\Program Files\Python24'. It caused no end of problems...

Michael Foord
http://www.manning.com/foord

Oct 26 '07 #12
Fuzzyman wrote:
However I did once use a machine where Python had been installed
into 'c:\Program Files\Python24'. It caused no end of problems...
What, "it"? The machine or the folder? What kinds of problems?

Regards,
Björn

--
BOFH excuse #170:

popper unable to process jumbo kernel

Oct 26 '07 #13
Bjoern Schliessmann <us**************************@spamgourmet.comwrote :
>
The last app I saw that had problems with whitespace was Worms 2
(1997). YMMV (and I'm interested in it).
If only. Even the very latest Microsoft WDK (Windows Driver Kit, formerly
known as the DDK) cannot successfully build drivers if the source code
lives in a path with spaces.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Oct 27 '07 #14
I finally gave up trying to install to c:\Python25 and went with the
install to C:\. However, I tried to install a module called pywin32
(Python for Windows Extensions) and after recognizing that the Python
installation was in C:\ and saying it would install to C:\LIB\SITE-
PACKAGES, it would then blow up. This was consistently repeatable.
Seeing PythonWin mentioned regarding pywin32 reminded me of the
ActiveState distribution of Python as I knew that came with
PythonWin.

After uninstalling the python.org Python from C:\, I was able to
successfuly install the ActiveState Python distribution to C:
\Python25.
Oct 29 '07 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Josh | last post by:
I've been trying to get Tix running with Python on Windows. Since there is no binary distributions of Tix for Windows, it seems the easiest way to install Tix is through IDiscovery's IDEStudio 1.9...
3
by: Stephen Ferg | last post by:
I need a little help here. I'm developing some introductory material on Python for non-programmers. The first draft includes this statement. Is this correct? ...
33
by: Darren Dale | last post by:
I love the language. I love the community. My only complaint is that Python for Windows is built with Visual Studio. It is too difficult to build python, or a module, from source. This is what...
3
by: Matthias Baas | last post by:
Hi, are there any guidelines about what to do if a Windows extension for Python 2.4 requires the C++ runtime (msvcp71.dll)? If I want to distribute a binary installer of an extension that...
17
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.4.2 (final). Python 2.4.2 is a bug-fix release. See the release notes at the ...
6
by: Sambo | last post by:
Some time ago I bought a newer computer with W2000 already on it so I moved my old drive to it as secondary( python was installed on non primary partition ). Not sure if the .msi installers were...
34
by: Ben Sizer | last post by:
I've installed several different versions of Python across several different versions of MS Windows, and not a single time was the Python directory or the Scripts subdirectory added to the PATH...
13
by: Daniel Fetchinson | last post by:
Was looking at PEP 3108, http://www.python.org/dev/peps/pep-3108/ , Is it just me or others also think that it would be a major loss to remove tkinter from the python core? PEP 3108 starts off...
9
by: Ed Leafe | last post by:
On Apr 21, 2008, at 1:05 PM, Daniel Fetchinson wrote: Don't most binary distributions include SQLite itself? I installed 2.5.2 on a new WinXP VM, and SQLite is working fine. -- Ed Leafe
7
by: greg | last post by:
Thomas Philips wrote: Have a look in /Library/Frameworks/Python.framework/Versions/2.5 You can't -- this feature only exists in the Search window, which is a different kind of window...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.