python 打包exe 运行dll load failed,pywin32生成的python可执行文件中的dll加载错误

在Windows XP SP3上,通过命令行执行python/c/Python26/Scripts/pywin32_postinstall.py-install成功注册了Python相关dll文件,并将它们复制到系统目录。此外,还更新了Pythonwin的注册表项,创建了快捷方式,表明pywin32扩展已成功安装。
摘要由CSDN通过智能技术生成

比以往任何时候都老,但我今天无意中发现了这个问题,如果有人这么做,我运行的是:

来自命令行的python /c/Python26/Scripts/pywin32_postinstall.py -install(更改值以适应)。成功了:$ python /c/Python26/Scripts/pywin32_postinstall.py -install

Copied pythoncom26.dll to C:\WINDOWS\system32\pythoncom26.dll

Copied pythoncomloader26.dll to C:\WINDOWS\system32\pythoncomloader26.dll

Copied pywintypes26.dll to C:\WINDOWS\system32\pywintypes26.dll

Registered: Python.Interpreter

Registered: Python.Dictionary

Registered: Python

-> Software\Python\PythonCore\2.6\Help[None]=None

-> Software\Python\PythonCore\2.6\Help\PythonwinReference[None]='c:\\Python26\\Lib\\site-packages\\PyWin32.chm'

Pythonwin has been registered in context menu

Creating directory c:\Python26\Lib\site-packages\win32com\gen_py

Shortcut for Pythonwin created

Shortcut to documentation created

The pywin32 extensions were successfully installed.`

(在WinXP SP3上)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值