Seems to be an access violation. Not sure how to fix this.
Violation: System Policy: deny file-write-create /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/.DS_Store
MetaData: {"build":"Mac OS X 10.12.4 (16E195)","action":"deny","target":["System","Library","Frameworks","Python.framework","Versions","2.7","Resources",".DS_Store"],"hardware":"Mac","platform_binary":"yes","profile":"unknown","process":"Finder","op":"file-write-create"}
2017-04-16 19:49:54.266202-0400 0x4f26d Error 0x0 163 sandboxd: [com.apple.sandbox.reporting.violation] SandboxViolation: Finder(312) System Policy: deny file-write-create /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/.DS_Store [Duplicate; no report will be generated.]
2017-04-16 19:50:22.983233-0400 0x4f3ac Default 0x0 0 kernel: (Sandbox) SandboxViolation: Finder(312) System Policy: deny(1) file-write-create /System/Library/Frameworks/Python.framework/Versions/2.7/.DS_Store
2017-04-16 19:50:22.983262-0400 0x4f3ac Default 0x0 0 kernel: (Sandbox) SandboxViolation: Finder(312) System Policy: deny(1) file-write-create /System/Library/Frameworks/Python.framework/Versions/2.7/.DS_Store
2017-04-16 19:51:27.277776-0400 0x4f2a5 Error 0x0 163 sandboxd: [com.apple.sandbox.reporting.violation] SandboxViolation: Finder(312) System Policy: deny file-write-create /System/Library/Frameworks/Python.framework/Versions/2.7/.DS_Store