Python出现安全策略问题的解决方法

原创
2018/12/11 21:46
阅读数 7K

Python运行期间出现如下错误

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

解决方法:在脚本的开头添加上

#!/bin/env python
展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部