Details please.
Code and complete log as a starter so we have a clue what you are working with.
And if the error is not from SAS then a screen shot of the error as well and description of how you attempt to delete the file.
You have many moving parts in this question, FCMP, Python and an external file without showing how SAS actually used any of those.