白痴在 Windows 上安装 gevent 的指南

Idiot's guide to installing gevent on Windows

是否有从头开始在 Windows 上安装 gevent 的白痴指南?我正在尝试使用 Python 3.4 安装到 Windows 10。如果我执行 pip install,则安装失败,提示找不到 Visual C++ 编译器。 (我确实安装了 2017 VS Community 版,但显然出于某种原因安装程序不能接受。)

Microsoft 为您提供了一个编译器: https://www.microsoft.com/en-us/download/details.aspx?id=44266

或者你可以看这里: https://docs.python.org/3.4/using/windows.html#compiling-python-on-windows

或者您可以使用 MinGW

但最好的办法是使用 anaconda 安装 Python。
https://conda.io/docs/user-guide/tasks/build-packages/compiler-tools.html

我发现 conda 可以毫不费力地安装大多数模块,并且在长 运行 中更易于管理。