473,657 Members | 2,587 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2202
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\Pytho n25. It installed to C:\.

Oct 24 '07 #3
TheFlyingDutchm an 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.c omwrote:
TheFlyingDutchm an 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
TheFlyingDutchm an <zz******@aol.c omwrote:
>
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.com wrote:
TheFlyingDutchm an <zzbba...@aol.c omwrote:
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, TheFlyingDutchm an <zzbba...@aol.c omwrote:
On Oct 24, 11:22 pm, Tim Roberts <t...@probo.com wrote:
TheFlyingDutchm an <zzbba...@aol.c omwrote:
>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:\Python2 5". 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

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

Similar topics

2
5265
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 (http://starship.python.net/crew/mike/Idle/). This went fine and I ran the "Install Tix into Python" option at the end of the installation, with the target Python installation being the Python 2.2 I just mentioned. I also ran the "Run Tix...
3
9719
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? ----------------------------------------------------------------- When loading modules, Python looks for modules in the following places in the following order:
33
2958
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 open source is all about, isnt it? I even have a copy of visual studio, and I still cant build modules from source, because my academic copy is version 7. As a scientist funded by the NSF, I feel compelled to do all my work using free software (I...
3
3770
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 contains C++ code, should I really include the msvcp71.dll in the package? It doesn't sound like a good idea to me if every package places another copy of this dll somewhere in the Python directory. Python 2.4 does install the C runtime (msvcr71.dll)...
17
1738
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 website (also available as Misc/NEWS in the source distribution) for details of the more than 60 bugs squished in this release. For more information on Python 2.4.2, including download links for various platforms, release notes, and known issues,...
6
1488
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 broken before, but they are now (on this installation) and the reason I can't move to brand new installation is because I am missing sound drivers. I have copied 3 files from my d:\winnt\system32 (old C:) pywintypes24.dll, pythoncom24.dll (mod...
34
3951
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 environment variable. Every time, I've had to go through and add this by hand, to have something resembling a usable Python installation. No such problems on Linux, whether it be Mandrake/Mandriva, Fedora Core, or Kubuntu. So why is the Windows...
13
3353
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 with: Each module to be removed needs to have a justification as to why it should no longer be distributed with Python. then goes on with,
9
2599
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
1621
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 from the normal Finder
0
8394
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6164
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4152
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.