Python 2.6.6 (r266:84292, Aug  9 2016, 06:11:56)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.prefix
'/usr'
>>> sys.version
'2.6.6 (r266:84292, Aug  9 2016, 06:11:56) \n[GCC 4.4.7 20120313 (Red Hat 
4.4.7-17)]'
>>>

This is what I am seeing.

On Wednesday, November 15, 2017 at 4:57:19 PM UTC-5, Travis Perkins wrote:
>
> So I have been working on getting Reposado and Margarita up and running in 
> my environment following the listed instructions here: 
> https://clburlison.com/reposado-guide/
>
> I've adjusted what I have needed to for the variations (Ubuntu to Redhat, 
> Apache 2.4 to Apache 2.2, etc)
>
> For the mod_wsgi install, I used the instructions listed here: 
> http://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html
>
> Currently when I start apache, and try to access the margarita site that 
> is using the .wsgi script I get the following:
>
>  mod_wsgi (pid=19248, process='margarita', application=''): Loading WSGI 
> script '/usr/local/asus/margarita/margarita.wsgi'.
>  mod_wsgi (pid=19248): Target WSGI script 
> '/usr/local/asus/margarita/margarita.wsgi' cannot be loaded as Python 
> module.
>  mod_wsgi (pid=19248): Exception occurred processing WSGI script 
> '/usr/local/asus/margarita/margarita.wsgi'.
>  Traceback (most recent call last):
>   File "/usr/local/asus/margarita/margarita.wsgi", line 8, in <module>
>     from margarita import app as application
>   File "/usr/local/asus/margarita/margarita.py", line 2, in <module>
>     from flask import Flask
> ] ImportError: No module named flask
>
>
> Yet when I list out the modules for python I have flask listed.
>
> I have set my wsgi.conf file to contain the following based on what I have 
> read:
>
> LoadModule wsgi_module modules/mod_wsgi.so
> WSGISocketPrefix /var/run/wsgi
> WSGIRestrictStdout Off
> WSGIPythonHome /usr/bin/python2.6
>
> Any insight or help would be much appreciated.
>
>
>
> -Travis
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To post to this group, send email to modwsgi@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to