You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which suggests you install the following packages:
gcc_linux-64
gxx_linux-64
gfortran_linux-64
After that I was libhdf5-dev and needed to download https://packages.ubuntu.com/xenial/amd64/libhdf5-10, and run a command like sudo cp /usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so.10 /usr/lib/x86_64-linux-gnu/libhdf5_hl.so.10
I got an error when I do pip install "pyannote.audio==0.2.1"
Running setup.py bdist_wheel for pysndfile ... error
Complete output from command /home/user1/anaconda3/envs/py36/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-fjxlgynr/pysndfile/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpv8qoj5jqpip-wheel- --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/pysndfile
copying pysndfile/init.py -> build/lib.linux-x86_64-3.6/pysndfile
copying pysndfile/Faiff.py -> build/lib.linux-x86_64-3.6/pysndfile
copying pysndfile/sndio.py -> build/lib.linux-x86_64-3.6/pysndfile
running build_ext
check for clang compiler ... no
building '_pysndfile' extension
creating build/temp.linux-x86_64-3.6
gcc -pthread -B /home/user1/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user1/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/home/user1/anaconda3/envs/py36/include/python3.6m -c _pysndfile.cpp -o build/temp.linux-x86_64-3.6/_pysndfile.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from /home/user1/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
from /home/user1/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/user1/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from _pysndfile.cpp:469:
/home/user1/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/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 "
^
g++ -pthread -shared -B /home/user1/anaconda3/envs/py36/compiler_compat -L/home/user1/anaconda3/envs/py36/lib -Wl,-rpath=/home/user1/anaconda3/envs/py36/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/_pysndfile.o -lsndfile -o build/lib.linux-x86_64-3.6/pysndfile/_pysndfile.cpython-36m-x86_64-linux-gnu.so
/home/user1/anaconda3/envs/py36/compiler_compat/ld: cannot find -lm
/home/user1/anaconda3/envs/py36/compiler_compat/ld: cannot find -lpthread
/home/user1/anaconda3/envs/py36/compiler_compat/ld: cannot find -lc
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Failed building wheel for pysndfile
The text was updated successfully, but these errors were encountered: