crlibm.h安装pyinterval时没有这样的文件

时间:2016-10-28 11:32:00

标签: python django

我正在尝试安装pyinterval但遇到了这个问题。我正在尝试在我自己的虚拟环境中安装它。还包括下面的日志

Running setup.py install for pyinterval
Running command /home/jibin/Desktop/chef/env/bin/python -c "import setuptools, tokenize;__file__='/home/jibin/Desktop/chef/env/build/pyinterval/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hJmNF8-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jibin/Desktop/chef/env/include/site/python2.7
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/interval
copying interval/__init__.py -> build/lib.linux-x86_64-2.7/interval
copying interval/imath.py -> build/lib.linux-x86_64-2.7/interval
copying interval/fpu.py -> build/lib.linux-x86_64-2.7/interval
copying ./LICENSE -> build/lib.linux-x86_64-2.7/interval
running build_ext
building 'crlibm' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/ext
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/crlibm/include -I/usr/include/python2.7 -c ext/crlibmmodule.c -o build/temp.linux-x86_64-2.7/ext/crlibmmodule.o
ext/crlibmmodule.c:7:20: fatal error: crlibm.h: No such file or directory
 #include "crlibm.h"
                    ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Complete output from command /home/jibin/Desktop/chef/env/bin/python -c "import setuptools, tokenize;__file__='/home/jibin/Desktop/chef/env/build/pyinterval/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hJmNF8-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jibin/Desktop/chef/env/include/site/python2.7:
running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/interval

copying interval/__init__.py -> build/lib.linux-x86_64-2.7/interval

copying interval/imath.py -> build/lib.linux-x86_64-2.7/interval

copying interval/fpu.py -> build/lib.linux-x86_64-2.7/interval

copying ./LICENSE -> build/lib.linux-x86_64-2.7/interval

running build_ext

building 'crlibm' extension

creating build/temp.linux-x86_64-2.7

creating build/temp.linux-x86_64-2.7/ext

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/crlibm/include -I/usr/include/python2.7 -c ext/crlibmmodule.c -o build/temp.linux-x86_64-2.7/ext/crlibmmodule.o

ext/crlibmmodule.c:7:20: fatal error: crlibm.h: No such file or directory

 #include "crlibm.h"

                    ^

compilation terminated.

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

正如您所见,我能够构建crlibm.h但似乎无法包含它。

0 个答案:

没有答案