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

Home Page:https://www.aicrowd.com/challenges/music-demixing-challenge-ismir-2021/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

cnh2769 opened this issue · comments

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

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