无法使pywin32-219与python 3.5一起使用
发布时间:2020-12-14 02:26:32 所属栏目:Windows 来源:网络整理
导读:它似乎安装没有错误使用EXE(在我的情况下pywin32-219.win-amd64-py3.5.exe)但是当运行 python解释器并尝试“导入win32api”时,我收到以下错误: Traceback (most recent call last): File "stdin",line 1,in moduleImportError: DLL load failed: The specif
它似乎安装没有错误使用EXE(在我的情况下pywin32-219.win-amd64-py3.5.exe)但是当运行
python解释器并尝试“导入win32api”时,我收到以下错误:
Traceback (most recent call last): File "<stdin>",line 1,in <module> ImportError: DLL load failed: The specified module could not be found. 如果我下载zip文件并尝试运行“setup3.py install”,我会得到以下输出: Converting... Executing... Building pywin32 3.5.219.0 Traceback (most recent call last): File "setup3.py",line 16,in <module> exec(str(got)) File "<string>",line 1929,in <module> File "<string>",line 587,in __init__ File "C:Python35libntpath.py",line 113,in join genericpath._check_arg_types('join',path,*paths) File "C:Python35libgenericpath.py",line 143,in _check_arg_types (funcname,s.__class__.__name__)) from None TypeError: join() argument must be str or bytes,not 'NoneType' 我已经尝试过几件事,但是无法让它发挥作用. 有没有人得到pywin32安装和使用python 3.5正常工作? 解决方法
您需要在写入system32文件夹时以提升的权限运行pywin安装程序.如果未使用提升的权限运行,请打开admin cmd提示符并在pywin安装目录中运行postinstall脚本.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 如何知道正在运行什么版本的Windows和/或cmd.exe的批处理文
- windows-server-2008 – Windows 7 – 无法加入域.网络ID显
- windows – 与findstr.exe进行逻辑OR比较
- windows – 一次检查所有git存储库的状态
- vbscript – 为什么WScript.StdOut.Write方法在VBS和JScrip
- 适用于Windows Vista的Subversion客户端
- 域名系统 – Windows 2012无法验证没有根区域的转发器?
- windows-phone-8 – 获取应用程序版本Windows Phone 8
- IIS5?HTTP500内部错误分析及解决办法
- Windows磁盘映像,用于自动调度的备份
推荐文章
站长推荐
- windows-server-2008 – 你在Windows Server上使
- .net – 十进制为主键在Dev(Win7 / 64bit)中工作
- windows-7 – Windows 7对软件开发人员有什么好处
- windows – 如何在批处理脚本中使用WMIC获取内存
- libglog.dll CMake 在Windows上编译、应用glog
- winapi – 使用Win32 API的Windows“真实”用户列
- Windows应用程序的实际标准键盘快捷键列表?
- 将整个Windows日志导出到XML
- Windows Server 2016-查询FSMO角色信息的三种方法
- windows – 如何人为地将CPU加载到某个百分点?
热点阅读