How To Install Pycairo Win32
Installing Cinfony¶. Open the file C: cinfony cinfony.bat with Notepad and follow the instructions therein to configure Cinfony Add the cinfony directory to the Windows PATH or just copy C: cinfony cinfony.bat to a folder that’s already on the Windows PATH To add a folder to the Windows PATH, you need to go to Control Panel, System. Install options: select only the “Windows 10 SDK” (assuming the computer is Windows 10). Optionally, if you want to use MSVC cl.exe C/C compiler from the command line, additionally select the C build tools, which takes an additional 2 GB disk space.
I am trying to install the win32com module. I know I should download the Python for Windows extension, but it does not work.
After I have installed Python for Windows and try import win32com.client
, I get the following error message:
Trying to google for help on how to install win32api for Python does not help either; I am just referred to the Python for Windows extensions again.
migrated from stackoverflow.comJun 19 '13 at 9:36
This question came from our site for professional and enthusiast programmers.
4 Answers
Check sys.path to make sure the directory where the module is installed is in there, otherwise you have to add it (google PYTHONPATH windows for some help with that.)
- Start a command line with admin rights.
python -m pip install pywin32
C:Program FilesStackless36Scripts>python pywin32_postinstall.py -install
python C:codePythonspeechspeak.py
Where speak.py
consists of this text:
Nate Ruess) 5. True Love (feat. Lily Allen) [] 6. How Come You're Not Here 7. Slut Like You [] 8. The Truth About Love [] 9. Beam Me Up 10. Walk of Shame [] 11. Here Comes the Weekend (feat. Eminem) [] 12. Where Did the Beat Go? The Great Escape 14. My Signature Move 15. Is This Thing On?
Working fine on Python 3.6.4 Stackless 3.1b3 060516 (v3.6.4-slp:9557b2e530, Dec 21 2017, 15:23:10) [MSC v.1900 64 bit (AMD64)] on win32. Vanilla CPython hangs out here:
Cees TimmermanCees TimmermanI had the same problem only yesterday. I installed pypiwin32
using pip
.
Try
at the command prompt
Make sure your Python package is in the system PATH.
Note that there are a few different ways to install Python modules, and as you have discovered not all of them work. pip install
with -U
worked for me with the pypiwin32
module (which contains win32com
).
How To Install Pycairo Win32 Windows 7
look for the file in your computer by searching in all your computer 'win32api' once you find it put it here C:Python26Libwin32com 'this suppossed you already install win32com library and you will find the file I think in' C:Python26Libsite-packageswin32 'After all the file should be located in those two places in your computer for your module to work that's it in fini'.