On two different Windows 98SE Systems, I have attempted to upgrade working
Python 2.3.3 and win32all installations to Python 2.3.4. After what
appeared to be successful installations of Python-2.3.4.exe, I next
executed: pywin32-201.win32-py2.3.exe
as downloaded from SourceForge, in the belief that it was the appropriate
companion for Python-2.3.4 (perhaps this is my mistake?). In both cases,
the installed Pythonwin outputs the following error messages and does NOT
run:
File "C:\PYTHON23\L ib\site-packages\python win\pywin\frame work\intpyapp.p y",
line163, in InitInstance import interact File "C:\PYTHON23\L ib\site-packages\python win\pywin\frame work\interact.p y",
line26, in ? import winout File
"C:\PYTHON23\Li b\site-packages\python win\pywin\frame work\winout.py" ,line 26, in ? from pywintypes import UnicodeType File "C:\PYTHON23\Li b\site-packages\win32\ lib\pywintypes. py", line 69,
in? __import_pywin3 2_system_module __("pywintypes" , globals()) File "C:\PYTHON23\Li b\site-packages\win32\ lib\pywintypes. py", line 62,
in__import_pywin 32_system_modul e__ raise ImportError, "Can not locate " + filename exceptions.Imp ortError: Can not locate pywintypes23.dl l
On checking, the NEW 'pywintypes23.d ll' IS in c:\windows\syst em
77824 May 28 11:10 c:\windows\syst em\pywintypes23 .dll
If this file is copied to C:\Windows then Pythonwin starts without the error
messages and appears to work.
In previous Windows 98SE installations, the pythonwin dlls have worked OK
from
c:\windows\syst em where they are installed so I don't understand what's
happening here?
(Note: I've installed Python-2.3.4.exe and pywin32-201.win32-py2.3.exe on a
Windows XP sytem without this problem.)
-- 4 2219
Bob Chapman wrote: On two different Windows 98SE Systems, I have attempted to upgrade working
[...] >__import_pywin 32_system_modul e__ > raise ImportError, "Can not locate " + filename >exceptions.Imp ortError: Can not locate pywintypes23.dl l
On checking, the NEW 'pywintypes23.d ll' IS in c:\windows\syst em
> 77824 May 28 11:10 c:\windows\syst em\pywintypes23 .dll
If this file is copied to C:\Windows then Pythonwin starts without the error messages and appears to work.
What happens if you run Python from the command line and type
"import pywintypes"? In other words, is this a problem with
the Python installation or a problem with the pywin32 installation?
You should learn the answer as a result...
-Peter
One workaround is to copy pywintypes23.dl l to your \windows directory. http://sourceforge.net/tracker/index...18&atid=551954
Roger
"Bob Chapman" <re*******@hotm ail.com> wrote in message
news:c9******** **@ngspool-d02.news.aol.co m... On two different Windows 98SE Systems, I have attempted to upgrade working Python 2.3.3 and win32all installations to Python 2.3.4. After what appeared to be successful installations of Python-2.3.4.exe, I next executed:
> pywin32-201.win32-py2.3.exe as downloaded from SourceForge, in the belief that it was the appropriate companion for Python-2.3.4 (perhaps this is my mistake?). In both cases, the installed Pythonwin outputs the following error messages and does NOT run:
> File >"C:\PYTHON23\L ib\site-packages\python win\pywin\frame work\intpyapp.p y", line >163, in InitInstance > import interact > File >"C:\PYTHON23\L ib\site-packages\python win\pywin\frame work\interact.p y", line >26, in ? > import winout > File "C:\PYTHON23\Li b\site-packages\python win\pywin\frame work\winout.py" , >line 26, in ? > from pywintypes import UnicodeType > File "C:\PYTHON23\Li b\site-packages\win32\ lib\pywintypes. py", line 69, in >? > __import_pywin3 2_system_module __("pywintypes" , globals()) > File "C:\PYTHON23\Li b\site-packages\win32\ lib\pywintypes. py", line 62, in >__import_pywin 32_system_modul e__ > raise ImportError, "Can not locate " + filename >exceptions.Imp ortError: Can not locate pywintypes23.dl l
On checking, the NEW 'pywintypes23.d ll' IS in c:\windows\syst em
> 77824 May 28 11:10 c:\windows\syst em\pywintypes23 .dll
If this file is copied to C:\Windows then Pythonwin starts without the
error messages and appears to work.
In previous Windows 98SE installations, the pythonwin dlls have worked OK from c:\windows\syst em where they are installed so I don't understand what's happening here?
(Note: I've installed Python-2.3.4.exe and pywin32-201.win32-py2.3.exe on
a Windows XP sytem without this problem.)
--
> "Bob Chapman" <re*******@hotm ail.com> wrote in message news:c9******** **@ngspool-d02.news.aol.co m... On two different Windows 98SE Systems, I have attempted to upgrade
working Python 2.3.3 and win32all installations to Python 2.3.4. After what appeared to be successful installations of Python-2.3.4.exe, I next executed:
> pywin32-201.win32-py2.3.exe as downloaded from SourceForge, in the belief that it was the
appropriate companion for Python-2.3.4 (perhaps this is my mistake?). In both
cases, the installed Pythonwin outputs the following error messages and does
NOT run:
> File >"C:\PYTHON23\L ib\site-packages\python win\pywin\frame work\intpyapp.p y", line >163, in InitInstance > import interact > File >"C:\PYTHON23\L ib\site-packages\python win\pywin\frame work\interact.p y", line >26, in ? > import winout > File "C:\PYTHON23\Li b\site-packages\python win\pywin\frame work\winout.py" , >line 26, in ? > from pywintypes import UnicodeType > File "C:\PYTHON23\Li b\site-packages\win32\ lib\pywintypes. py", line
69, in >? > __import_pywin3 2_system_module __("pywintypes" , globals()) > File "C:\PYTHON23\Li b\site-packages\win32\ lib\pywintypes. py", line
62, in >__import_pywin 32_system_modul e__ > raise ImportError, "Can not locate " + filename >exceptions.Imp ortError: Can not locate pywintypes23.dl l
On checking, the NEW 'pywintypes23.d ll' IS in c:\windows\syst em
> 77824 May 28 11:10 c:\windows\syst em\pywintypes23 .dll
If this file is copied to C:\Windows then Pythonwin starts without the error messages and appears to work.
In previous Windows 98SE installations, the pythonwin dlls have worked
OK from c:\windows\syst em where they are installed so I don't understand what's happening here?
(Note: I've installed Python-2.3.4.exe and pywin32-201.win32-py2.3.exe
on a Windows XP sytem without this problem.)
--
"Roger Upole" <ru****@hotmail .com> wrote in message
news:40******** @127.0.0.1... One workaround is to copy pywintypes23.dl l to your \windows directory. http://sourceforge.net/tracker/index...2&group_id=780
18&atid=551954 Roger
That's what I did but I was curious why this is required. Up to, at least,
Build 163, win32all was able to start under Windows 98SE with
pywintypes23.dl l located in c:\windows\syst em (where it is installed). And,
as previously mentioned, this work around is not required under Windows
XP -- go figure.
--
"Peter Hansen" <pe***@engcorp. com> wrote in message
news:U4******** ************@po wergate.ca... Bob Chapman wrote:
On two different Windows 98SE Systems, I have attempted to upgrade
working [...] >__import_pywin 32_system_modul e__ > raise ImportError, "Can not locate " + filename >exceptions.Imp ortError: Can not locate pywintypes23.dl l
On checking, the NEW 'pywintypes23.d ll' IS in c:\windows\syst em
> 77824 May 28 11:10 c:\windows\syst em\pywintypes23 .dll
If this file is copied to C:\Windows then Pythonwin starts without the
error messages and appears to work.
What happens if you run Python from the command line and type "import pywintypes"? In other words, is this a problem with the Python installation or a problem with the pywin32 installation? You should learn the answer as a result...
-Peter
Thanks for the suggestion. Will try tomorrow when I have access to one of
the two systems.
-- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael Jordan |
last post by:
I'm hoping that someone here can give me some insight into a problem I'm
running into with Python, pywin32 and Excel. All-in-all using Python and
pywin32 is great but I've run into a strange problem with the range Offset
property, I'm not getting the correct offset and the returned range is a
single cell and not the same size as the original...
|
by: Egor Bolonev |
last post by:
import os
print os.listdir("\\\\delta\\public")
outputs
and
import os
print os.listdir("\\\\delta")
|
by: mg |
last post by:
Hi all,
I have reinstalled my Win32 computer last week and I did an update of
the project PyWin32 to complete my Python installation.
(I have to use sources from CVS for my project !)
So, when I run 'python setup.py' in my PyWin32 directory, I have two
problem : the version indacated in windows.h and some symbols who are
not defined. See...
|
by: sam |
last post by:
Has anyone been able to access the source code for Pywin32 at
sourceforge? I have been able to use TortouseCVS to access other CVS
projects,but with the Pywin32 cvs site, I can not log in.
Sam Schulenburg
|
by: Frank Millman |
last post by:
Hi all
I am using odbc from pywin32 to connect to MS SQL Server. I am changing
my program from the old (incorrect) style of embedding values in the
SQL command to the new (correct) style of passing the values as
parameters. I have hit a problem.
The following all work -
cur.execute("select * from users where userid = '%s'" % 'frank') #...
| |
by: John Henry |
last post by:
I posted the following message to the Pywin32 list but if anybody here
can help, it would be appreciated very much.
============================
Hi list,
I have a need to copy 3 rows of data from the top of my Excel
spreadsheet to another location. I would have throught that this
should be very straightforward since I've done a fair...
|
by: livibetter |
last post by:
Hi!
I am trying to making an On-Screen Display, which is implemented by
wx.Frame.
Basically I created a wx.Frame with style like
super(OSDBase, self).__init__(parent, id, title,
style = wx.STAY_ON_TOP |
wx.FRAME_NO_TASKBAR |
wx.TRANSPARENT_WINDOW |
|
by: vml |
last post by:
Hello,
I am trying to promote python in my job, my collegue only see matlab
and microsoft scripting language.
I understood that there willl be no backward compatibility between
python 2.x and 3.0, does it means that:
- my script using pywin32 for the COM layer and scipy for the maths
won't work under 3.0
|
by: Xavier |
last post by:
Hi,
I try to access to a Bluetooth GPS data-logger with Python. I use
pySerial.
Sending and receiving little messages (~100 char) works fine. However,
when I ask the GPS to dump the trails, it returns some Mbytes and here
is the problem : in the stream of bytes, I randomly losts chunks of
~100bytes.
|
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...
|
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. ...
| |
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...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |