1👍
How can you have genalytics appear twice in the /opt directory?
Anyway, you likely need:
sys.path.append('/opt')
as well else Python will not be able to find the fileupload package.
UPDATE
Now that you have fixed the directory structure in question, the next question is whether the directories are accessible and files are readable to user that Apache runs as?
In other words, Apache doesn’t run as you, so directories/files must be readable by others.
Source:stackexchange.com