MOD_PYTHON ERROR

Discussion in 'Installation/Configuration' started by delfo2000, Mar 4, 2015.

  1. delfo2000

    delfo2000 Member

    I'm running server Ubuntu 14.04.02 and last Ispconfig 3. Now I need in install Django (CMS) under site inside Ispconfig, but when I try run setup.py I have error "MOD_PYTHON ERROR".
    I don't understand because I can' t run phyton.
    I hope in little help.
    Regards
     
  2. Ghostdare

    Ghostdare Member

    What do you mean by "I can't run python"? Is not installed or you don't want to install it?
    I think that Django must have mod_python installed and active in Apache.
    Install python in console:
    sudo apt-get install libapache2-mod-python
    and restart apache service.
     
  3. delfo2000

    delfo2000 Member

    Dear,
    yes, libapache2-mod-python is installed, I have upgrade to ubuntu 14.10, but I cant run Django inside ispconfig 3 site. Now I'm trying "wagtail" again error:

    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)
    File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)
    File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)
    File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 204, in handler
    module = page_cache[req]
    File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1059, in __getitem__
    return import_module(req.filename)
    File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 296, in import_module
    log, import_path)
    File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 680, in import_module
    execfile(file, module.__dict__)
    File "/var/www/vccoins.com/web/wagtail/setup.py", line 5, in <module>
    from wagtail.wagtailcore import __version__
    ImportError: No module named wagtail.wagtailcore
     
  4. Ghostdare

    Ghostdare Member

    Install also mod_wsgi
     
  5. sochnedo

    sochnedo New Member

    Now I need in install Django (CMS) under site inside Ispconfig, but when I try run setup.py I have error "MOD_PYTHON ERROR".??

    _______________
    GUL
     
    Last edited: Mar 12, 2015

Share This Page