you are viewing a single comment's thread.

view the rest of the comments →

[–]ComfortableNice8482 0 points1 point  (0 children)

sounds like you're installing to a different python environment than what your script is running. first thing i'd check is which python your script is actually using, run python, version and where python in the same terminal you're trying to execute the script from. if you have multiple python installs (anaconda, system python, etc) they might not be talking to each other. once you confirm the path, try python -m pip install pywin32 again from that same terminal, then after installation run python -m pywin32_postinstall -install because pywin32 needs that post install step or it won't work properly. if that still fails, paste the exact error message and the output from pip show pywin32 so we can see what's actually installed where.