numpy 使用python3.9时出现“Import'pywinauto.application ' could not be resolved”的警告

taor4pac  于 2023-03-30  发布在  Python
关注(0)|答案(1)|浏览(262)

我安装了pywinauto并试图使用python 3.9导入它,但出现了一个警告,指出“Import 'pywinauto.application' cannot be resolved. Please help me identify the areas of the problem and the cause of it?Python 3.9 comtype 1.1.14
我试着将comtype版本降级到1. 1. 7,问题仍然存在。我还安装了numpy包,看看是否有什么变化,但仍然没有运气!

mzsu5hc0

mzsu5hc01#

请确保您的脚本没有命名为pywinauto.py,因为它导入的是自身而不是包。

相关问题