python - Defining PYTHONPATH for http requests on a shared server -


I am installing Django on Bluehost and one step to install it was to install a flop on my server. I did this and everything works great when I am logged in through SSH. However, when I actually hit the page in my browser, it did not get a flop. I get this error in the server log:

Error: No module is floppy. Unable to load the flop package, to run the degeneration as the FastCGI application, you will need to get a flop if you have already installed the flop, make sure that you have it in your pithonpath

Since it is in SSH when I recognize the flop, then my best estimate is that there is some other Bash file, which gives me the right place for the Python Path. While by the need to change the HTTP request. But since it is a shared server, I do not have a lot of privilege outside my home directory.

Any thoughts?

If you can identify which module actually contains the import flop , You can prepaid the import with the sys.path.append of the path on which you have installed flup - As long as sys.path.append happens first import flupes , you are in Clover.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -