安装odoo要求



我正在尝试学习odoo但是当我尝试使用命令从 require.txt 文件中安装需求时sudo pip install -r requirements.txt出现以下错误:

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-7VpR4f/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-rosrtv-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-7VpR4f/python-ldap/

所以请有人帮我吗?!

Hossam Aboouf

python3的安装Odoo


sudo apt-get install python3-pipsudo pip3 install -r requirements.txt

sudo apt install python3-setuptoolssudo apt install python3-dev

如果您遇到任何其他库包,而不是执行此cmd

sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev

相关内容

  • 没有找到相关文章

最新更新