下载安装 Python3

https://www.python.org/ftp/python/3.7.1/python-3.7.1-amd64.exe

安装完成后 

pip3 install scrapy

报错

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

解决方法:安装 Microsoft visual c++ 14.0

https://964279924.ctfile.com/fs/1445568-239446865
或
https://pan.baidu.com/s/1q2Nj41Xk85CHHv7_zOhQIA 密码:qbba

安装完成

有可能会出现找不到win32api的错误 error: No module named win32api,安装如下模块即可:

pip3 install pypiwin32

安装 Twisted

pip install Twisted

升级 pip

python -m pip install --upgrade pip
pip install PyMySQL
pip install selenium
pip install sqlalchemy
pip3 install sqlalchemy-utils

发表评论

电子邮件地址不会被公开。 必填项已用*标注