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

时间:2019-05-16 14:24:28

标签: python installation ubuntu-18.04 odoo-12

我正在尝试在Ubuntu 18中安装Odoo12。这里有一个官方文档:-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

有人可以建议出什么问题吗?

1 个答案:

答案 0 :(得分:0)

您正在运行Python 2.7,并且需要Python 3