由于 python setup.py 安装,Odoo 12 安装失败

Odoo 12 installation fails due to python setup.py install

我正在尝试在 Ubuntu18 中安装 Odoo 12。这里有一个官方文档:- https://www.getopenerp.com/install-odoo-12-on-ubuntu-18-04/ 有很多步骤。除以下各项外均成功:-

当我运行命令为python setup.py install

报错:-

root@ip-172-31-45-49:/opt/odoo/gdata-2.0.18# python setup.py install
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/gdata-2.0.18.egg-info
Writing /usr/local/lib/python2.7/dist-packages/gdata-2.0.18.egg-info

任何人都可以提出可能是错的吗?

你是 运行 Python 2.7 并且你需要 Python 3