cooperbarth / Joint-Audio-Correction-Kit

An effective solution for stationary audio noise reduction using TSNR, HRNR and Decision-Directed filtering
MIT License
8 stars 2 forks source link

Not able to install Joint-Audio-Correction-Kit #23

Open mahaju opened 1 month ago

mahaju commented 1 month ago

I am trying to run this in Ubuntu 18.04.4 LTS running inside a virtual machine I have Python 3.6.9 installed At the step install the required packages conda create -n eecs352p --file requirements.txt I am getting an error:

Channels:
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides requested zlib ==1.2.11 h1de35cc_3
  - nothing provides requested xz ==5.2.4 h1de35cc_4
  - nothing provides requested x264 ==1!152.20180717 h1de35cc_1001
  - nothing provides requested tornado ==5.1.1 py37h1de35cc_1000
...
  - nothing provides requested ca-certificates ==2019.3.9 hecc5488_0
  - nothing provides requested bzip2 ==1.0.6 h1de35cc_1002
  - nothing provides requested audioread ==2.1.6 py37_0
  - package flask-1.0.2-py37_1 requires werkzeug >=0.15,<2.0, but none of the providers can be installed

which looks like a list of all the files in requirements.txt, followed by

Could not solve for environment specs
The following packages are incompatible
├─ audioread ==2.1.6 py37_0 does not exist (perhaps a typo or a missing channel);
├─ bzip2 ==1.0.6 h1de35cc_1002 does not exist (perhaps a typo or a missing channel);
├─ ca-certificates ==2019.3.9 hecc5488_0 does not exist (perhaps a typo or a missing channel);
├─ cycler ==0.10.0 py_1 does not exist (perhaps a typo or a missing channel);
├─ decorator ==4.3.2 py_0 does not exist (perhaps a typo or a missing channel);
├─ ffmpeg ==4.1 heb45b42_1002 does not exist (perhaps a typo or a missing channel);
├─ flask ==1.0.2 py37_1 is installable and it requires
│  └─ werkzeug >=0.15,<2.0 , which can be installed;
├─ freetype ==2.9.1 h597ad8a_1005 does not exist (perhaps a typo or a missing channel);
├─ gettext ==0.19.8.1 hcca000d_1001 does not exist (perhaps a typo or a missing channel);
├─ gmp ==6.1.2 h0a44026_1000 does not exist (perhaps a typo or a missing channel);
...

Is there anything else I need to install on this system before trying out this project?

I am mainly interested in getting the core noise reduction code to run (https://github.com/cooperbarth/jack-audio). I mainly work on Windows and I have python as well as the requirements ('numpy', 'scipy', 'librosa', 'pathlib', 'pysndfx' obtained from https://github.com/cooperbarth/jack-audio/blob/master/setup.py) installed, but that gives an error when running the code as well (something related to pysndfx, not sure exactly what).

cooperbarth commented 1 month ago

Hi, this was a school project made years ago; would really not recommend trying to use this in the wild.

mahaju commented 1 month ago

Hi thanks for replying. I understood that but wanted to give it a try anyway, just to understand some concepts. Please let me know if this is an easy fix or not really worth looking into in too much detail. I usually work in Matlab not python so I'm not very familiar with it's intricate details. I was just wondering if there was anything obvious I needed to setup first to build this project.