Mac OS X10.9自带有Apache环境, 我们需要安装Python3.3, Mod_python3.5.0(支持Python3.3)
Python3.3的安装见Mac OS X10.9安装的Python2.7升级Python3.3步骤详解
按说明文件README.md中的步骤
```shell
$ ./configure
$ make
$ sudo make install
$ make test
```
CPPFLAGS=-I/System/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -DNDEBUG
2. 再修改
File "/System/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/mod_python/version.py", line 3
version = "fatal: Not a git repository (or any of the parent directories): .git
^
SyntaxError: EOL while scanning string literal
为 version = "fatal: Not a git repository (or any of the parent directories): .git 3.5.0-"
Python3.3的安装见Mac OS X10.9安装的Python2.7升级Python3.3步骤详解
按说明文件README.md中的步骤
```shell
$ ./configure
$ make
$ sudo make install
$ make test
```
注意事项:
1. 在执行完./configure命令后, 需要个性src目录下的makefile文件
修改为CPPFLAGS=-I/System/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -DNDEBUG
2. 再修改
File "/System/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/mod_python/version.py", line 3
version = "fatal: Not a git repository (or any of the parent directories): .git
^
SyntaxError: EOL while scanning string literal
为 version = "fatal: Not a git repository (or any of the parent directories): .git 3.5.0-"