git.net

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

Win32api problems


On 2019-10-22 17:31, Albert-Jan Roskam wrote:
> 
> 
> On 22 Oct 2019 11:23, GerritM <gerrit.muller at gmail.com> wrote:
> 
>> ImportError: DLL load failed: The specified > procedure could not be found.
> 
> I've had the same error before and I solved it by adding the location where the win32 dlls live to PATH. Maybe PATH gets messed up during the installation of something.
> 
I recently had a problem when I tried win32 on a newly-installed Python 
3.8 and I couldn't import win32clipboard. The solution in that case was 
to copy pywintypes38.dll and pythoncom38.dll from 
site-packages/pywin32_system32 into site-packages/win32. (Note: those 
names had "38" for Python 3.8.)