473,372 Members | 851 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,372 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 2177
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.