Did you run the python script as the same user who created it? I am guessing it could be permission issue because you have created it as a different user and running it as a different user. There are 2 solutions for this:
- Switch to the user who created the script, and run it
- Change the permission of the file and run it.
You can change the permission using the chmod command:
$ sudo chmod 777 /path/to/pyc/file