Closed adhirmndl closed 3 years ago
try to install pywin32
$ pip install pywin32
If you recieve errors such as
No module named win32com.client
,No module named win32
, orNo module named win32api
, you will need to additionally installpypiwin32
.
If you recieve errors such as
No module named win32com.client
,No module named win32
, orNo module named win32api
, you will need to additionally installpypiwin32
.
Still Not Working It shows "No module named win32api"
Please use python 3, the support for python 2 is soon coming to end.
I had the same exact problem and I am on Python 3.6.
Both pip install pypiwin32
and pip install pywin32
executed but I still had the "No module named win32api" error. Then I found this explanation :
THE PROBLEM :
Win32 modules are not guaranteed to install correctly with pip.
THE SOLUTION: Install them directly from packages provided by developers on github
You might want to include the direct link in the documentation.
If you receive errors such as
No module named win32com.client
,No module named win32
, orNo module named win32api
, you will need to additionally install pypiwin32 with the commandpip install pypiwin32
and/or install the precompiled packages provided by developers on GitHub .
I have tried everthing now.
1) pip install pywin32
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32
2) pip install pypiwin32
Collecting pypiwin32
Using cached pypiwin32-223-py3-none-any.whl (1.7 kB)
ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none)
ERROR: No matching distribution found for pywin32>=223 (from pypiwin32)
3) Even tried installing the precompiled packages then copied the win32com folder inside my python3.6/site-packages/win32com. Still
import win32com
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'win32com'
I am working on ubuntu os, can anyone help me with this.
Ubuntu doesn't need pypiwin32.
Please see the updated installation instructions in readme