I have a python script which is refused to run:
py C:\Users\tester\move.py
Traceback (most recent call last):
File "C:\Users\tester\Desktop\moveMousePeriodicallyAdmin2.py", line 9, in <module>
import win32api, win32con
ImportError: DLL load failed: The specified module could not be found.
I saw couple of solutions from various old thread however none of them fix the issue.
pip show pywin32
no result is returned at terminalScripts\pywin32_postinstall.py -install
and result is not good:
c:\Programme\Python35\Scripts>pywin32_postinstall.py -install
Traceback (most recent call last):
File "C:\Programme\Python35\Scripts\pywin32_postinstall.py", line 613, in <module>
install()
File "C:\Programme\Python35\Scripts\pywin32_postinstall.py", line 321, in install
LoadSystemModule(lib_dir, "pywintypes")
File "C:\Programme\Python35\Scripts\pywin32_postinstall.py", line 159, in LoadSystemModule
mod = imp.load_dynamic(modname, filename)
File "C:\Programme\Python35\lib\imp.py", line 342, in load_dynamic
return _load(spec)
File "<frozen importlib._bootstrap>", line 693, in _load
File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
File "<frozen importlib._bootstrap>", line 577, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 914, in create_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.