aitjcize / PyTox

Python binding for Project-Tox the skype replacement.
GNU General Public License v3.0
96 stars 29 forks source link

sudo python setup.py install fails as does sudo pip install pytox #59

Closed cyian-1756 closed 8 years ago

cyian-1756 commented 8 years ago

Running sudo python setup.py install errors out with

Warning: AV support not found, disabled.
running install
running build
running build_ext
building 'pytox' extension
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 -I/usr/include/python2.7 -c pytox/pytox.c -o build/temp.linux-x86_64-2.7/pytox/pytox.o -Wall -Wno-declaration-after-statement
In file included from pytox/pytox.c:26:0:
pytox/core.h:27:21: fatal error: tox/tox.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

sudo pip install pytox fails with the same message. I've tried this with both python 2 and 3.

cyian-1756 commented 8 years ago

Turns out I forgot to install tox core on this PC

kitech commented 8 years ago

the pip package is outdated. try git clone and python setup.py install.