我用sudo运行anaconda程序:
sudo /Users/me/anaconda3/bin/python myScript.py
我收到了错误:
sudo: no tty present and no askpass program specified
尽管我编辑了我的sudoers文件:
# User privilege specification
root ALL=(ALL) ALL
my_user ALL=(ALL) ALL
my_user ALL = NOPASSWD: /Users/orenkobo/anaconda3/bin/python
my_user ALL = NOPASSWD: ALL
my_user ALL = (ALL) NOPASSWD: ALL
%admin ALL=(ALL) ALL
可能是什么原因? 谢谢!