Skip to content

Instantly share code, notes, and snippets.

@enkunkun
Created November 27, 2016 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enkunkun/1c65a4315d0137874e850eea6dac39bd to your computer and use it in GitHub Desktop.
Save enkunkun/1c65a4315d0137874e850eea6dac39bd to your computer and use it in GitHub Desktop.
Scrapy on Windows 10 64bit (troubleshooting)
Chocolatey をインストールする https://chocolatey.org/
choco install python2
pip install scrapy (失敗)
lxml‑3.6.4‑cp27‑cp27m‑win_amd64.whl を http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml からダウンロード
pip install lxml‑3.6.4‑cp27‑cp27m‑win_amd64.whl する
pip install Scrapy (成功)
おしまい。
よだん: Python2 を使う理由としては、公式サイトに
「Python 3 is not supported on Windows. This is because Scrapy core requirement Twisted does not support Python 3 on Windows.」
とかかれているため。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment