运行Python代码报错,之前好好的,今天很突然
may have been in progress in another thread when fork() was called.
解决方法:添加环境变
OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
参考
“+[SomeClass initialize] may have been in progress in another thread when fork() was called”