1. 程式人生 > >Python出現安全策略問題的解決方法

Python出現安全策略問題的解決方法

Python執行期間出現如下錯誤

import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.

解決方法:在指令碼的開頭新增上

#!/bin/env python