当我在ubuntu 18.04上运行music.py(来自https://github.com/yump/doamusic.git)时,出现以下错误。
`In file included from /usr/include/python2.7/numpy/ndarraytypes.h:1809:0,
from /usr/include/python2.7/numpy/ndarrayobject.h:18,
from /usr/include/python2.7/numpy/arrayobject.h:4,
from /home/varun/.pyxbld/temp.linux-x86_64-2.7/pyrex
/doamusic/_music.c:593:
/usr/include/python2.7/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^~~~~~~
/home/varun/.pyxbld/temp.linux-x86_64-2.7/pyrex/doamusic /_music.c:597:10: fatal error: cmusic.h: No such file or directory
#include "cmusic.h"
^~~~~~~~~~
compilation terminated.
File "/usr/lib/python2.7/distutils/unixccompiler.py", line 124, in _compile
raise CompileError, msg
ImportError: Building module doamusic._music failed: ["CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1\n"]
让我知道错误的含义以及如何解决?