由于我安装Python64位的,下载后没注册,安装Twisted时老提示“python version 2.7 required,which was not found in the registry”错误 解决方法 1.任意位置存放reg.py文件 # # script to register Python 2.0 or later for use with win32all # and other extensions that require Python registry setting
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools" 进入该网址http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted 下载twisted对应版本的whl文件 Twisted‑18.9.0‑cp37‑cp37m‑win_amd64.whl ,cp后面是python版本,amd64代表64位, 运行 pip in