安装odoo需求
Install odoo requirments
我正在尝试学习 odoo
,但是当我尝试使用命令 sudo pip install -r requirements.txt
从 requirement.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('\r\n', '\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/
请问有人能帮帮我吗?!
霍萨姆阿布夫
安装 Odoo
与 python3
:
sudo apt-get install python3-pip
sudo pip3 install -r requirements.txt
sudo apt install python3-setuptools
sudo apt install python3-dev
如果你遇到任何其他库包而不是执行此 cmd
:
sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev
我正在尝试学习 odoo
,但是当我尝试使用命令 sudo pip install -r requirements.txt
从 requirement.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('\r\n', '\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/
请问有人能帮帮我吗?!
霍萨姆阿布夫
安装 Odoo
与 python3
:
sudo apt-get install python3-pip
sudo pip3 install -r requirements.txt
sudo apt install python3-setuptools
sudo apt install python3-dev
如果你遇到任何其他库包而不是执行此 cmd
:
sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev