我正在尝试在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
有人可以建议出什么问题吗?
答案 0 :(得分:0)
您正在运行Python 2.7,并且需要Python 3