小编Ima*_*deh的帖子

如何由超级用户运行芹菜工人?

当我使用sudo运行celery worker时,出现以下错误:

Running a worker with superuser privileges when the
worker accepts messages serialized with pickle is a very bad idea!

If you really want to continue then you have to set the C_FORCE_ROOT
environment variable (but please think about this before you do).

User information: uid=0 euid=0 gid=0 egid=0
Run Code Online (Sandbox Code Playgroud)

我的C_FORCE_ROOT环境变量也是true

echo $C_FORCE_ROOT
true
Run Code Online (Sandbox Code Playgroud)

更多信息:
Python-> 2.7.6
celery-> 3.1.23(Cipater)
OS-> Linux(Ubuntu 14.04)

我应该如何用sudo运行芹菜?我知道它并不安全,但出于某些原因,我确实需要这样做!

python linux celery

2
推荐指数
1
解决办法
1850
查看次数

我必须将数据集转换为Google Cloud ML Engine的TFRecords吗?

是否可以在Google Cloud ML Engine中训练模型而无需将数据集转换为TFRecords?

machine-learning tensorflow google-cloud-ml

1
推荐指数
1
解决办法
180
查看次数