On 05/30/2017 01:45 PM, Logan Anderson wrote: > Are you using mod_wsgi compiled for the wrong version of python or something > of that nature? mod_wsgi has to be compiled for python 2.7. You are > referencing #!/usr/bin/python2 but if the other modules are not compiled for > the same version then you will run into errors such as this. Also, not > certain if this is an issue for you but generally I use something more like > #!/usr/bin/env python-2.7 for my shebang.
On centos 7 /usr/bin/python2 is a symlink to python 2.7. I'd pprint sys.path on line 29 and see what python path actually is in the wsgi playpen. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
