Python3.4+Apache2.4环境安装mod_wsgi报错求助
在Apache 2.4 + Python 3.4环境下安装mod_wsgi的编译错误求助
各位大佬,我最近在Apache 2.4搭配Python 3.4的环境里装mod_wsgi,折腾得头都大了,查了各种解决方案还是没搞定,来求助大家!
我已经创建好虚拟环境,执行了安装命令:pip install mod_wsgi
但一直收到下面的错误提示:
Failed building wheel for mod-wsgi building 'mod_wsgi.server.mod_wsgi' extension error: Microsoft Visual C++ 10.0 is required. Get it with "Microsoft Windows SDK 7.1": www.microsoft.com/download/details.aspx?id=8279
有人说装Visual Studio社区版就能解决,但我已经装了Visual Studio 2017,而且确认已经安装了Microsoft Visual C++ 2010 x64和x86 Redistributables,问题还是存在。
补充说明:我试过通过提示里的链接安装Windows SDK,但问题依旧没解决。
另外,我的Path环境变量配置如下:
E:\platforms\python3.4.4\; E:\platforms\python3.4.4\Scripts; C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common; E:\platforms\jdk8u172\bin; C:\Program Files\Microsoft MPI\Bin\; E:\platforms\python3.6.5\Scripts\; E:\platforms\python3.6.5; %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem; %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; E:\Git\cmd; E:\Git\mingw64\bin; E:\Git\usr\bin; C:\Program Files\dotnet\; C:\Program Files\Microsoft SQL Server\130\Tools\Binn\; C:\Program Files (x86)\GtkSharp\2.12\bin; C:\Program Files (x86)\Microsoft Emulator Manager\1.0\; E:\TortoiseGit\bin; %GROOVY_HOME%\bin; %SYSTEMROOT%\System32\OpenSSH\; E:\platforms\node10.1.0\; E:\IDE\vs2017\VC\Auxiliary\Build;
内容的提问来源于stack exchange,提问作者David Torrey
相关产品推荐
相关产品推荐

