Rhizi / rhizi

Connective intelligence
GNU Affero General Public License v3.0
13 stars 3 forks source link

Newbie has trouble installing #717

Open jmvanel opened 8 years ago

jmvanel commented 8 years ago

Expected behavior

Install rhizi

Actual behavior.

sudo pip install -r requirements.txt
....
creating build/temp.linux-x86_64-2.7/gevent

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.linux-x86_64-2.7/libev -Ilibev -I/usr/include/python2.7 -c gevent/gevent.corecext.c -o build/temp.linux-x86_64-2.7/gevent/gevent.corecext.o

gevent/gevent.corecext.c:5:20: fatal error: Python.h: Aucun fichier ou dossier de ce type

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-mYfMNq/gevent/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-4BVkk_-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-mYfMNq/gevent
Storing debug log for failure in /home/jmv/.pip/pip.log

Steps to reproduce the problem.

Follow the README:

uname -a
Linux jmv-XPS-L412Z 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

git clone git@github.com:Rhizi/rhizi.git
cd rhizi/
sudo apt-get install ant python-pip ruby-sass
sudo pip install -r requirements.txt
jibe-b commented 8 years ago

@jmvanel python-dev package might not be installed on your computer.

sudo apt-get install python-dev

jibe-b commented 7 years ago

was it right @jmvanel? If yes then we can close the issue.