gpt4 book ai didi

linux - 尝试安装 odoo 错误 : command 'x86_64-linux-gnu-gcc'

转载 作者:太空宇宙 更新时间:2023-11-04 12:57:45 29 4
gpt4 key购买 nike

按照此处的说明操作时,我不知道自己做错了什么:

http://odoo-development.readthedocs.org/en/latest/install.html .你能帮帮我吗?

导致错误的命令是:

$ sudo pip install -r requirements.txt

这里是错误:

错误:命令“x86_64-linux-gnu-gcc”失败,退出状态为 1


不能回滚枕头;没有卸载打扫干净...命令/usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-rlHphv/Pillow/setup.py';exec(compile(getattr(tokenize, '打开', 打开)(文件).read().replace('\r\n', '\n'), 文件, 'exec'))"install --record/tmp/pip-B4QpIV-record/install-record.txt --single-version-externally-managed --compile 失败,错误代码为 1 in/tmp/pip-build-rlHphv/Pillow在/home/aaa/.pip/pip.log 中存储失败的调试日志

以下是我按顺序输入的命令:

-VirtualBox:~$ sudo apt-get update
-VirtualBox:~$ sudo apt-get install git python-pip htop moreutils tree nginx gimp wmctrl postgresql-server-dev-all
-VirtualBox:~$ sudo apt-get upgrade
-VirtualBox:~$ mkdir bmp
-VirtualBox:~$ cd bmp
-VirtualBox:~/bmp$ sudo git clone https://github.com/odoo/odoo.git
-VirtualBox:~/bmp$ ls
-VirtualBox:~/bmp$ cd odoo
-VirtualBox:~/bmp/odoo$ ls
-VirtualBox:~/bmp/odoo$ cd .
-VirtualBox:~/bmp/odoo$ cd ..
-VirtualBox:~/bmp$ wget http://nightly.odoo.com/8.0/nightly/deb/odoo_8.0.latest_all.deb
-VirtualBox:~/bmp$ sudo dpkg -i odoo_8.0.latest_all.deb
-VirtualBox:~/bmp$ sudo apt-get -f install
-VirtualBox:~/bmp$ sudo apt-get remove odoo
-VirtualBox:~/bmp$ ls
-VirtualBox:~/bmp$ cd /usr/local/src
-VirtualBox:/usr/local/src$ lsb_release -a
-VirtualBox:/usr/local/src$ uname -i
-VirtualBox:/usr/local/src$ sudo apt-get install xfonts-base xfonts-75dpi
-VirtualBox:/usr/local/src$ sudo apt-get -f install
-VirtualBox:/usr/local/src$ wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
-VirtualBox:/usr/local/src$ sudo wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
-VirtualBox:/usr/local/src$ sudo dpkg -i wkhtmltox-*.deb
-VirtualBox:/usr/local/src$ cd ~/bmp/odoo
-VirtualBox:~/bmp/odoo$ sudo pip install -r requirements.txt

我已将所有日志发布在这里:http://pastebin.com/xbbAkPzy .在这一点上,我们将不胜感激任何帮助。

最佳答案

然后我尝试了下面的代码像魅力一样工作

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

关于linux - 尝试安装 odoo 错误 : command 'x86_64-linux-gnu-gcc' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35166648/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com