在安装gevent时报错
C:\leakScan-master\scanner>easy_install gevent Searching for gevent Reading http://pypi.python.org/simple/gevent/ Best match: gevent 1.0.1 Downloading https://pypi.python.org/packages/source/g/gevent/gevent-1.0.1.tar.gz #md5=7b952591d1a0174d6eb6ac47bd975ab6 Processing gevent-1.0.1.tar.gz Running gevent-1.0.1\setup.py -q bdist_egg --dist-dir c:\docume~1\make\locals~1temp\easy_install-rh5qhd\gevent-1.0.1\egg-dist-tmp-p5ddlp error: Setup script exited with error: Unable to find vcvarsall.bat
查询需要安装mingw,但在安装mingw后也是出现同样的错误
解决方法,直接找genvent文件包进行安装
http://www.lfd.uci.edu/~gohlke/pythonlibs
这样,问题可解决
时间: 2024-11-05 06:11:49