当前位置:网站首页>安装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已经不报错,解决问题。
边栏推荐
- Choosing the right DevOps tool starts with understanding DevOps
- 文库网站建设源码分享
- 通配符 SSL/TLS 证书
- kubernetes-部署nfs存储类
- log factory (detail)
- Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读
- GBase 8c中怎么查询数据库配置参数,例如datestyle。使用什么函数或者语法呢?
- explain each field introduction
- Website construction process
- 开源视界 | StreamNative 盛宇帆:和浪漫的人一起做最浪漫的事
猜你喜欢

Screen: GFF, OGS, Oncell, Incell of full lamination process

从普通进阶成优秀的测试/开发程序员,一路过关斩将

PanGu-Coder:函数级的代码生成模型

将ENS域名转化为音乐需要几步?

通配符 SSL/TLS 证书

网站建设流程

shell脚本专题(07):文件由cfs到bos

MLX90640 红外热成像仪测温模块开发笔记(完整篇)
![[Neural Network] This article will take you to easily analyze the neural network (with an example of spoofing your girlfriend)](/img/2c/18ce72dfd0889d901ea0d95721ed19.png)
[Neural Network] This article will take you to easily analyze the neural network (with an example of spoofing your girlfriend)

【木棉花】#夏日挑战赛# 鸿蒙小游戏项目——数独Sudoku(3)
随机推荐
明尼苏达大学团队结合高通量实验与机器学习,实现有效可预测的特定位点重组过程,可调节基因编辑速度
SQL的 ISNULL 函数
小白系统初始化配置资源失败怎么办
Break the performance ceiling!AsiaInfo database supports more than 1 billion users, with a peak of one million transactions per second
哈哈!一个 print 函数,还挺会玩啊!
首篇 NLP 领域图神经网络综述:127 页,从图构建到实际应用面面观
SQL function TO_DATE (2)
MySQL数据库————流程控制
COS User Practice Call for Papers
[Neural Network] This article will take you to easily analyze the neural network (with an example of spoofing your girlfriend)
mysql函数的作用有哪些
Summer vacation second week wrap-up blog
DAO开发教程【WEB3.0】
Source code analysis of GZIPOutputStream class
【LeetCode】Day109-the longest palindrome string
[pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio
Go GORM transaction instance analysis
Use of message template placeholders
随时随地写代码--基于Code-server部署自己的云开发环境
【服务器数据恢复】服务器Raid5阵列mdisk组中多块磁盘离线的数据恢复案例