Also supply the full error message and trace back for the import error. Want to be able to see what module import is failing.
One reason might be that your application code will be read only so if some code is expecting to be able to write to code directories on import that could cause an import failure. Graham > On 20 Nov 2015, at 2:34 PM, Collin Jackson <[email protected]> wrote: > > I'm running mod-wsgi-docker:python-2.7-onbuild and have listed my > requirements in requirements.txt. During build, I can see that the packages > are installed properly, but when I try to run the image, it crashes on the > first non-Standard Library import with an ImportError exception. I can't > figure out what's happening and it's not exactly easy to poke around inside > the container to see what's going on. I noticed that a virtual environment is > created prior to installing the packages (here), but I imagine that if this > is the issue, other users would have the same issue. Any ideas? > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/modwsgi. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
