Python Forum

Full Version: pip won't install twisted
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to install scrapy which requires twisted but twisted won't install because
Error:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
I tried installing Microsoft Visual C++ 14.0 but it still doesn't work.
Any suggestions?
Not sure it will work, but download a wheel that matches your version of python, and your machine from: https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted
for example: Twisted‑18.7.0‑cp37‑cp37m‑win_amd64.whl
is for python 3.7 and 64 bit machine
to install, from command line, change directory to wheel location (or type full path to wheel) and
for above file (for example)
pip install Twisted‑18.7.0‑cp37‑cp37m‑win_amd64.whl