git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Win32api problems


On 10/22/2019 5:23 AM, GerritM wrote:
> I recently installed IPython, Pandas, Altair, Jupyter, MatPlotLib, and Numpy on my Windows 10, Python27 installation to explore what it can do.

All of those 5 packages either have or will stop supporting 2.x.  See 
https://python3statement.org/.

> When I tried to run my normal scripts a few days later, I discovered that win32com and related modules like win32ami give problems:
> 
> Traceback (most recent call last):
>  ? File "D:\gaudi\src\PythonTools\generateDocumentsPdf.py", line 10, in <module>
>  ? ? from win32com.client.dynamic import Dispatch
>  ? File "C:\Python27\lib\site-packages\win32com\__init__.py", line 5, in <module>
>  ? ? import win32api, sys, os
> ImportError: DLL load failed: The specified procedure could not be found.
> 
> after trying out several tips on Internet, like copying dll and pyd files, I re-installed my entire ActiveState installation. Luckily it works again.
> 
> However, question is what culprit of my initial list damaged the Python-win32 configuration?

Install 1 at a time and try your normal scripts?  Or try them with 3.7.

-- 
Terry Jan Reedy