I have a python cgi file on server and it imports some packages that installed only locally by anaconda(because I've no root privilege on the server). The problem is when I call the file from web, it can not be executed because of those "missing" packages. How can I get through this if I can't have root privilege?
If you can control the environment in which your server runs you can set PYTHONPATH to the path of some directory you have permissions to write in, and then install your third-party modules in that directory.
run python cgi from web with local packages installed by anaconda