当前位置:网站首页>安装win32gui失败,解决问题
安装win32gui失败,解决问题
2022-08-01 19:01:00 【:-O(]﹏[):-O】
今天需要用到自动化工具win32gui,但是网上教程发现需要安装pywin32
于是,在命令行输入:
pip install -i https://pypi.doubanio.com/simple/ pywin32但是安装完成后发现,win32gui依然不能用,经过查阅资料发现:
将pypiwin32添加进环境变量就可以,
具体操作:
1.首先找到pywin32_system,复制其路径

如图所示,我的路径为:D:\anaconda\envs\yolov5\Lib\site-packages\pywin32_system32
2.找到配置环境变量的地方:

然后选择环境变量,找到path,并点击编辑,将刚刚复制的路径添加到里面。

3.添加完环境变量后,发现import win32gui已经不报错,解决问题。
边栏推荐
- MLX90640 红外热成像仪测温模块开发笔记(完整篇)
- What are the application advantages of SaaS management system?How to efficiently improve the digital and intelligent development level of food manufacturing industry?
- Choosing the right DevOps tool starts with understanding DevOps
- Library website construction source code sharing
- 使用常见问题解答软件的好处有哪些?
- Break the performance ceiling!AsiaInfo database supports more than 1 billion users, with a peak of one million transactions per second
- 安装GBase 8c数据库的时候,报错显示“Resource:gbase8c already in use”,这怎么处理呢?
- When installing the GBase 8c database, the error message "Resource: gbase8c already in use" is displayed. How to deal with this?
- 1065 A+B and C (64bit)
- 【蓝桥杯选拔赛真题47】Scratch潜艇游戏 少儿编程scratch蓝桥杯选拔赛真题讲解
猜你喜欢

升哲科技携全域数字化方案亮相2022全球数字经济大会

Win11校园网无法连接怎么办?Win11连接不到校园网的解决方法

Library website construction source code sharing

Redis的内存淘汰策略和过期删除策略的区别是什么

Redis启动时提示Creating Server TCP listening socket *:6379: bind: No error

483-82 (23, 239, 450, 113)

#yyds干货盘点# 面试必刷TOP101: 链表中倒数最后k个结点

MLX90640 Infrared Thermal Imager Temperature Measurement Module Development Notes (Complete)

XML配置

在全志V853开发板试编译QT测试
随机推荐
log factory (detail)
Write code anytime, anywhere -- deploy your own cloud development environment based on Code-server
对于web性能优化我有话说!
Clip-on multimeter use method, how to measure the voltage, current, resistance?
Break the performance ceiling!AsiaInfo database supports more than 1 billion users, with a peak of one million transactions per second
explain each field introduction
【LeetCode】Day109-最长回文串
选择合适的 DevOps 工具,从理解 DevOps 开始
Goldfish Brother RHCA Memoirs: CL210 manages OPENSTACK network -- network configuration options
MLX90640 红外热成像仪测温模块开发笔记(完整篇)
Fuzzy query in Map pass-by-value and object pass-by-value
暑假第二周总结博客
MySQL中超键、主键及候选键的区别是什么
Summer vacation first week wrap-up blog
SQL的 ISNULL 函数
Go GORM transaction instance analysis
用VS2013编译带boost库程序时提示 fatal error C1001: 编译器中发生内部错误
短视频软件开发,Android开发,使用Kotlin实现WebView
odoo 编码规范(编程规范、编码指南)
Shell script topic (07): file from cfs to bos