login community faq

I'm trying to use a custom python script and module with wsgi but when I try accessing the site I get an import error, module does not exist. Even though the module in question is in the same directory as my script. I'm assuming this means the python interpreter isn't running in the directory I think it is. I'm unsure of what I need to do to proceed from here.

asked Mar 20 '11 at 18:38

aJax86's gravatar image

aJax86
11


Hi,

We have some great documentation on this here:

http://docs.webfaction.com/software/python.html#importerror

Take a look over that and see if it fixes your problem.

answered Mar 20 '11 at 19:32

klynton's gravatar image

klynton ♦♦
148128

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×228
×44
×37
×19
×10

Asked: Mar 20 '11 at 18:38

Seen: 2,051 times

Last updated: Mar 20 '11 at 19:32

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited