Error No Module Named Win32api
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of
Importerror: No Module Named Win32api
this site About Us Learn more about Stack Overflow the company Business Learn importerror no module named win32api twisted more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question importerror no module named win32api python x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up
No Module Named Win32api Scrapy
Python 3.4 :ImportError: no module named win32api up vote 7 down vote favorite 1 I am using python 3.4 on windows 7.In order to open a doc file i am using this code import sys import win32com.client as win32 word = win32.Dispatch("Word.Application") word.Visible = 0 word.Documents.Open("MyDocument") doc = word.ActiveDocument M not sure why is this error popping up everytime ImportError: no module named win32api
Install Win32api
Although i have installed pywin32 from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pywin32 and i have also checked the path from where i am importing...i have tried reinstalling pywin32 as well but that doesnt remove the error..... any suggestions....please help Thanks python pywin32 share|improve this question asked Aug 12 '14 at 6:09 Maxxie 80118 Just to make sure: You installed the version for Python 3.4, and for either win32 or win-amd64, whichever one matches your Python installation, right? –abarnert Aug 12 '14 at 6:13 Also, try import win32api directly from an interactive interpreter. And, while we're at it, import importlib; print(importlib.util.find_spec('win32api')) –abarnert Aug 12 '14 at 6:14 thnxx @abarnert .... going to try this now. –Maxxie Aug 12 '14 at 6:28 @Maxxie which file did you download from that link? –Patrick Collins Aug 12 '14 at 7:18 @Patrick i downloaded - pywin32‑219.win32‑py3.4.exe...its ok i guess coz m using python 3.4 –Maxxie Aug 12 '14 at 8:04 add a comment| 4 Answers 4 active oldest votes up vote 12 down vote accepted Try to install pywin32 from here : http://sourceforge.net/projects/pywin32/files/pywin32/ depends on you operation system
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the pip install win32api company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions
Import Win32api
Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million python win32api documentation programmers, just like you, helping each other. Join them; it only takes a minute: Sign up No module named 'win32api' up vote 5 down vote favorite 1 In Python 3.4 from Anaconda, I created a program http://stackoverflow.com/questions/25257274/python-3-4-importerror-no-module-named-win32api and it is giving me and import error each time I run it. Using Spyder. ImportError: No module named 'win32api' I already have the pywin32 installed. And I can see the win32api.pyd under C:\Anaconda3\Lib\site-packages\win32 This is the import code on my program: from tkinter import * from tkinter import ttk import tkinter.messagebox import time import requests #needs to be installed import pymysql #needs to be installed import csv import win32com.client #needs to be http://stackoverflow.com/questions/25314463/no-module-named-win32api installed import datetime This is the whole error: File "C:\Anaconda3\lib\site-packages\win32com\__init__.py", line 5, in
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more http://stackoverflow.com/questions/32586454/importerror-no-module-named-win32api-while-using-scrapy about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ImportError: No module named win32api while using Scrapy up vote -3 down vote favorite 1 I am a new learner of Scrapy. I installed python 2.7 and no module all other engines needed. Then I tried to build a Scrapy project following the tutorial http://doc.scrapy.org/en/latest/intro/tutorial.html. In the crawling step, after I typed scrapy crawl dmoz it generated this error message ImportError: No module named win32api. [twisted] CRITICAL : Unhandled error in deferred I am using Windows. Stack trace: I am using Windows. python scrapy scrapy-spider share|improve this question edited Sep 15 '15 at 13:03 NightShadeQueen 2,26731229 asked Sep 15 '15 at 12:45 李皓伟 41 no module named the version of my Scrapy 1.0.3. And aslo [twisted] CRITICAL : Unhandled error in defferred: –李皓伟 Sep 15 '15 at 12:47 Are you on Windows or Linux? –Kevin Guan Sep 15 '15 at 12:49 1 Perhaps you could try installing win32api. –Kevin Sep 15 '15 at 12:49 I run this on windows –李皓伟 Sep 15 '15 at 12:49 1 As stated in the installation guide, you should install pywin32. doc.scrapy.org/en/latest/intro/install.html –Dean Fenster Sep 15 '15 at 12:51 | show 1 more comment 1 Answer 1 active oldest votes up vote 1 down vote If you search a bit along the internet you will find the following documentation which describes what you have to do to install Py32Win: http://www.feedbackward.com/content/scrapy_install.pdf Here are all the steps described you have to do. I did it with this document and now my Scrapy installation works on Windows. share|improve this answer answered Sep 16 '15 at 5:50 GHajba 2,60651022 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged python scrapy scrapy