kuielab / mdx-net

KUIELAB-MDX-Net got the 2nd place on the Leaderboard A and the 3rd place on the Leaderboard B in the MDX-Challenge ISMIR 2021
https://www.aicrowd.com/challenges/music-demixing-challenge-ismir-2021/
MIT License
188 stars 22 forks source link

Error on building pesq "pesq/cypesq.c:6:10: fatal error: Python.h: No such file or directory" #32

Open cnh2769 opened 3 years ago

cnh2769 commented 3 years ago

Error encountered while "pip install -r requrements.txt"

image

Solution: We need to install libpythonX.X-dev to build pesq. The version should be followed your SYSTEM PYTHON VERSION, not conda python version, because pesq will build by gcc on your system

ex) (mdx-net) cnh2769@SPV02:\~/_Project/mdx-net$ which python3 /home/cnh2769/anaconda3/envs/mdx-net/bin/python3 (mdx-net) cnh2769@SPV02:\~/_Project/mdx-net$ python3 --version Python 3.8.11 (mdx-net) cnh2769@SPV02:\~/_Project/mdx-net$ /usr/bin/python3 --version Python 3.7.11 (mdx-net) cnh2769@SPV02:\~/Project/mdx-net$ sudo apt install libpython3.7_-dev

ws-choi commented 3 years ago

Thank you for sharing this. I will add this in read me (or you could make a PR if you want).