0

我想运行这条线:

nice --20 jupyter notebook

但是,我得到了权限错误

nice: cannot set niceness: Permission denied

,所以我尝试了:

sudo nice --20 jupyter notebook

然后错误是找不到Jupiter notebook。好的:

jupyter: No such file or directory

(由于我安装它,默认情况下 root 无权访问它)。

我应该怎么办?我试过这个:https ://unix.stackexchange.com/questions/72934/how-do-i-start-a-process-with-a-nice-value-of-20-and-not-give-it-根特权

那么它应该是:

sudo nice -n -20 sudo -u ec2-user jupyter notebook

我仍然得到错误:

sudo: jupyter: command not found
4

0 回答 0