Problems starting a crawler with scrapy crawl name

The problem when starting a crawler with scrapy crawl name, my project name is "spider_city_58", the code is as follows:

from scrapy import cmdline
cmdline.execute("scrapy crawl spider_city_58".split())

to start a crawler, but the following error occurred

ImportError: No module named win32api

At first, I tried other methods on the Internet, that is, to download "pywin32-220.win-amd64-py3.6.exe", install it, and find that it cannot be installed at all. Obviously my python version is also 64-bit 3.6, and I don't know now. why!

So I uninstalled python and all other modules, but still reported an error, and then I tried the following methods to solve it, sweat~~

pip install pypiwin32

Alas, it's so simple, but I didn't think of it, so frustrating~

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324729784&siteId=291194637