解决方法是安装VC++14.0 (即vs15)或者更新版本的vs

但是我电脑里面不但有vs15,还有vs17

参照这个问答操作,下载了Build Tools For Visual Studio,但还是不行

索性卸载干净电脑的vs

重新安装vs2019

还是不行,干脆直接去下载编译过的模块文件

ucl提供的下载网址 运行python -m pip debug --verbose,查看自己电脑适合的模块版本

查看安装的wheel版本

pip安装setprocititle报错error: Setup script exited with error: Microsoft Visual C++ 14.0 or greater_文件名


下载后,运行pip install setproctitle-1.2-cp37-cp37m-win_amd64.whl

(后面的文件名为自己下载的文件名)

安装成功

pip安装setprocititle报错error: Setup script exited with error: Microsoft Visual C++ 14.0 or greater_新版本_02