1、安装套件 python3
2、将 python3 作为默认 python
mv /usr/bin/python /usr/bin/python.bak ln -s /usr/local/bin/python3 /usr/bin/python ln -s /var/packages/py3k/target/usr/local/bin/pip3 /usr/bin/pip
3、安装pip3
curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py python /tmp/get-pip.py
4、安装 supervisor
pip install supervisor
ln -s /var/packages/py3k/target/usr/local/bin/supervisorctl /usr/bin/supervisorctl
ln -s /var/packages/py3k/target/usr/local/bin/supervisord /usr/bin/supervisord
5、设置开机自启动
不用折腾,直接进群晖计划任务,新增“触发的任务”,事件“开机”,勾选“已启动”,填上运行命令
标签:bin,supervisor,python,local,pip,usr,群晖,安装 From: https://www.cnblogs.com/zhenfei/p/16882882.html