vBaiCai / python-pesq

A python package for calculating the PESQ.
MIT License
353 stars 69 forks source link

Error with PyPi #15

Closed shamoons closed 4 years ago

shamoons commented 4 years ago

When installing, I get:

   In file included from /Users/shamoon/Library/Python/3.7/lib/python/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830:
    /Users/shamoon/Library/Python/3.7/lib/python/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it with " \
     ^
    pypesq/pesq.c:5:10: fatal error: 'pesq.h' file not found
    #include "pesq.h"
             ^~~~~~~~
    1 warning and 1 error generated.
    error: command 'clang' failed with exit status 1
    Running setup.py install for pypesq ... error

Not sure why that's happening, because pesq.h is clearly there. Any help?

vBaiCai commented 4 years ago

hi, shamoons, Thanks for reporting this problem! It caused by the headers missing during packing. I have fixed it now.