Python Forum

Full Version: ModuleNotFoundError
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ModuleNotFoundError: No module named 'win32api'
from command line:
pip install pypiwin32
(Oct-21-2020, 10:48 AM)Larz60+ Wrote: [ -> ]from command line:
pip install pypiwin32

i solved it by copying files from another computer
(Oct-21-2020, 12:15 PM)kcajminer2312 Wrote: [ -> ]
(Oct-21-2020, 10:48 AM)Larz60+ Wrote: [ -> ]from command line:
pip install pypiwin32

i solved it by copying files from another computer

new error:
ImportError: DLL load failed while importing _win32sysloader: %1 is not a valid Win32 application.
You are having a problem because you copied files from another computer. Delete the files you copied and install the package using pip as Larz60+ recommended. This will put the files in the correct place and do any configuration required to use the package.

But shouldn't the command be: pip install pywin32