473,804 Members | 3,200 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exception during win32all installation

I just uninstalled all previous versions of Python from my machine
(2.3.4 and 2.4a1) and installed 2.4b2. Now when I try to install the
win32 extensions (builds 202 and 203), the installer displays this:

<pre>
Running the pre-installation script failed
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 3, in ?
File "C:\Python24\Li b\os.py", line 133
from os.path import (curdir, pardir, sep, pathsep, defpath, extsep,
altsep,
^
SyntaxError: invalid syntax

</pre>

The installer appears to be complaining about the parentheses in the
import statement, but the interactive interpreter has no problems with
importing the os module. Is the installer using an older version of
python internally?

Jul 18 '05 #1
0 996

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

Similar topics

0
1623
by: Mike Cannon | last post by:
I'm having a problem with the newer version of win32all and Python 2.3 with code that works fine on Python-2.2 (details below). Both machines are Windows XP. The code that breaks is derived from the venerable jet2sql.py cookbook example. I added a routine that uses the daoEngine collection "TableDefs" and indexes it with a string (the table name). That works on Py-2.2/win32all-148 but not with Py-2.3/win32all-159. Any help ?
3
5725
by: Werner Merkl | last post by:
Hi, Python is really great, for small to big programs. For my colleagues and some circumstances I sometimes need to "compile" a script using py2exe. Cause I use Windows, I like to use the (Windows) ability, to add some version infos, comments, etc to the exe file. If I use explorer to check, these properties are visible and correct.
1
658
by: Roeland Kok | last post by:
Hello, I'm making a setup project for a Windows Installer, to update my application. The application has a configuration file (app.config) that is renamed after the build. I would like to not replace this file by the new configuration file during an installation, but keep it both (the new and old one). In that way I am able to tell the user to merge both files, or do it by myself as a Custom action.
5
2045
by: JJ | last post by:
Can anyone point me to a place where I can use a custom action within a C# setup project to generate a native image on the target machine during installation? Thanks!
1
2249
by: Petrucci2000 | last post by:
Hi All, I am looking to create an installation package (MSI ) which will fire off few of my custom .vbs during the install process. How to accomplish this task? TIA PS: I tried to include an installer class to my setup project and overrided the install and uninstall methods but when I run the setup.msi I never see those being fired!!
0
279
by: Jarod | last post by:
I got following expeption: Always when I try to update gridView using detailsView on the SECOND time. So I made 1 update, and I try to make another one and than boom... I don't add any controls dynamically its' pretty simple detailsView. But gridView and detailsView are in View control is it a problem ? I don't make anything with it. On the whole page I don't add anything dynamically all what's done in my code is setting Visisble / true /...
0
1596
by: Kemin | last post by:
Recently I built an ASP.NET application Installation program for deployment. The ASP.NET app use a Sql Server db, I package it into the installation file too. The general step of building an installation are: 1.Add an install class to the deployed project and imperment the custom action 2.Add a "Data Entry Dialog Boxes" in the User Interface Editor of the deployment project(my examply has two textbox,thier property are DBUSER and...
4
2106
by: Jack | last post by:
I searched around but could not find win32all source or binaries for earlier versions of Python. Don't ask me why but I have to use Python 1.5.2 in this project :) The sourceforget page only has latest versions. ActiveState does not even have 1.5.2 for download. Is it still available somewhere? Thanks!
10
10371
by: Mauro | last post by:
I'm trying to use the following VB function to transform a pdf document to a tiff one: http://forums.microsoft.com/msdn/showpost.aspx?postid=1665127&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=1 Private Sub savePDFtoTIF(ByVal fullPathPDF As String, ByVal fullPathTIF As String) Dim PDFApp As Acrobat.AcroApp Dim PDDoc As Acrobat.CAcroPDDoc Dim AVDoc As Acrobat.CAcroAVDoc Dim JSObj As Object
0
9706
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
9584
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
10337
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
10323
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,...
0
6854
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
5525
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
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.