1、安装postgres
sudo apt-get install postgresql
2、切换用户
sudo su postgres
3、创建超级用户
psql
create user odoo superuser password 'odoo';
\q
exit
4、安装pip3
sudo apt-get install python3-pip
5、
sudo apt-get install libxml2-dev libxslt-dev python3-dev libsasl2-dev libldap2-dev
6、安装python类包
sudo pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
7、安装sass
sudo pip3 install libsass==0.17.0 -i https://pypi.tuna.tsinghua.edu.cn/simple