$ sudo vim /etc/sudoers
# modify line "Default env_reset" to "Default !env_reset"
$ sudo vim ~/.bashrc
# add line to the bottom "alias sudo='sudo env PATH=$PATH'"
$ source ~/.bashrc
# enable the new config
https://blog.csdn.net/qq_34296627/article/details/82828545
Ubuntu sudo: pip:找不到命令