我有一个站点正在Apache服务器上运行,我想使用服务器和Web浏览器运行Python脚本。 我正在使用xampp,并且已经研究了我必须使用 modwsgi,并且我已经下载了zip文件并将其解压到我的桌面上。 现在在命令提示符中,我运行:
setup.py install
第一次我做这个时,我没有安装Python的设置工具(我有Python 2.7.8,运行在64位的Windows 7上),所以我去下载了它,但是现在当我再次运行命令时,我得到了以下信息。
RuntimeError: The 'apxs' command appears to not to be installed or is not exectuable.
Please check the list of prerequistes in the documentation for the package and install
any missing Apache httpd server packages.
我该如何安装apxs呢?因为我没有Apache,只有xampp。
perl Configure.pl --with-apache2=C:\xampp\apache --with-apache-prog=httpd.exe
给出了在 @INC 中找不到 util.pl(@INC 包含:C:/StrawberryPerl/perl/site/lib C:/StrawberryPerl/perl/vendor/lib C:/StrawberryPerl/perl/lib),位于 Configure.pl 的第 10 行。
。 - Maria Ines Parnisari