(May-29-2022, 02:12 PM)chriswrcg Wrote: I'm not even sure what it is trying to import since win32com and client are both foldersYou shall not name any folder with these names will,then will win32com look in wrong places.
Install pywin32 which win32com is part of and test that it work.
# Install G:\div_code λ pip install pywin32 Collecting pywin32 Downloading pywin32-304-cp310-cp310-win_amd64.whl (12.1 MB) ---------------------------------------- 12.1/12.1 MB 4.9 MB/s eta 0:00:00 Installing collected packages: pywin32 Successfully installed pywin32-304 # Test G:\div_code λ python Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import win32com.client >>> >>> exit()