facebookresearch / demucs

Code for the paper Hybrid Spectrogram and Waveform Source Separation
MIT License
8.34k stars 1.06k forks source link

ModuleNotFoundError "requests" MacOS #63

Open ElaweOnao1 opened 4 years ago

ElaweOnao1 commented 4 years ago

Hi, i'm new to using terminal, i followed the steps closely but this error keeps popping up. Can somebody please tell me what this means and how i can fix it? Screen Shot 2019-12-30 at 7 17 59 PM

adefossez commented 4 years ago

It seems it is still using the system python instead of conda. Can you try replacing python3 by python?

Oriklcum commented 4 years ago

Do this, on terminal: conda init (or) conda init zsh (That will satart (base)) While on (base) cd to your "demucs-master" or "demucs" folder and run: conda env update -f environment-cpu.yml That will install the 'request' module. Then, run: conda activate demucs Then, run: python3 -m demucs.separate --dl -n demucs -d cpu PATH_TO_AUDIO_FILE_1 Replace PATH_TO_AUDIO_FILE_1 with your own mp3 source location. That's it.