Python Forum
ModuleNotFoundError - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: ModuleNotFoundError (/thread-30443.html)



ModuleNotFoundError - kcajminer2312 - Oct-21-2020

ModuleNotFoundError: No module named 'win32api'


RE: ModuleNotFoundError - Larz60+ - Oct-21-2020

from command line:
pip install pypiwin32



RE: ModuleNotFoundError - kcajminer2312 - Oct-21-2020

(Oct-21-2020, 10:48 AM)Larz60+ Wrote: from command line:
pip install pypiwin32

i solved it by copying files from another computer


RE: ModuleNotFoundError - kcajminer2312 - Oct-21-2020

(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.


RE: ModuleNotFoundError - deanhystad - Oct-21-2020

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