如何在CentOS6.X上使用python 3.4安装mod_wsgi 4.4.13

时间:2015-07-21 12:14:37

标签: python apache mod-wsgi

如何使用python3.4安装mod_wsgi 4.4.13?

以下是binutils,gcc,httpd,python3.4

的安装
python installed alias created 
python='/usr/bin/python3'
       /usr/bin/python3

wsgi包已下载&解压缩:mod_wsgi-4.4.13

安装时出错。

错误:

mod_wsgi-4.4.13]# ls
config.log     configure.ac  images    Makefile.in        PKG-INFO    setup.py  win32
config.status  CREDITS.rst   LICENSE   MANIFEST.in        README.rst  src
configure      docs          Makefile  mod_wsgi.egg-info  setup.cfg   tests

# ./configure --enable-shared --profix=/usr/bin/python configure: error: unrecognized option: `--profix=/usr/bin/python' Try `./configure --help' for more information
# which python alias
python='/usr/bin/python3'
        /usr/bin/python3
# which python3
/usr/bin/python3

如果我以错误的方式问任何事情,请指导我。我喜欢学习。

由于 桑德拉

0 个答案:

没有答案