simon-r / dr14_t.meter

Compute the DR14 of a given audio file according to the procedure described by the Pleasurize Music Foundation
http://dr14tmeter.sourceforge.net
GNU General Public License v3.0
125 stars 33 forks source link

doesn't install on Ubuntu 22.04LTS #77

Open djfake opened 2 years ago

djfake commented 2 years ago

sudo -H pip3 install numpy scipy pip3 install DR14-T.meter --user Collecting DR14-T.meter Downloading dr14-t.meter-1.0.16.tar.gz (36 kB) Preparing metadata (setup.py) ... done WARNING: Generating metadata for package DR14-T.meter produced metadata for project name dr14-tmeter. Fix your #egg=DR14-T.meter fragments. Discarding https://files.pythonhosted.org/packages/a1/fc/011727826f98417968f81a6f0c45722aceb2dcf9512f7cb691687733f304/dr14-t.meter-1.0.16.tar.gz#sha256=7777c9f05c3e97d18c47e7dbba0f0aedd34bee618693334d3e82e8e528d66a45 (from https://pypi.org/simple/dr14-t-meter/): Requested dr14-tmeter from https://files.pythonhosted.org/packages/a1/fc/011727826f98417968f81a6f0c45722aceb2dcf9512f7cb691687733f304/dr14-t.meter-1.0.16.tar.gz#sha256=7777c9f05c3e97d18c47e7dbba0f0aedd34bee618693334d3e82e8e528d66a45 has inconsistent name: filename has 'dr14-t-meter', but metadata has 'dr14-tmeter' Downloading dr14_t.meter-1.0.15.tar.gz (36 kB) Preparing metadata (setup.py) ... done WARNING: Generating metadata for package DR14-T.meter produced metadata for project name dr14-tmeter. Fix your #egg=DR14-T.meter fragments. Discarding https://files.pythonhosted.org/packages/ff/b4/7b71c5c7d037916e9020dbc26866156eb793d37a2aff0b034e875dc7e96b/dr14_t.meter-1.0.15.tar.gz#sha256=c1f23a4cc2953575abd7af9dcef3f9e0e4b13439b3100d7ab6ac81e6ce6c9f9c (from https://pypi.org/simple/dr14-t-meter/): Requested dr14-tmeter from https://files.pythonhosted.org/packages/ff/b4/7b71c5c7d037916e9020dbc26866156eb793d37a2aff0b034e875dc7e96b/dr14_t.meter-1.0.15.tar.gz#sha256=c1f23a4cc2953575abd7af9dcef3f9e0e4b13439b3100d7ab6ac81e6ce6c9f9c has inconsistent name: filename has 'dr14-t-meter', but metadata has 'dr14-tmeter' Downloading dr14-t.meter-1.0.10.tar.gz (36 kB) Preparing metadata (setup.py) ... done WARNING: Generating metadata for package DR14-T.meter produced metadata for project name dr14-tmeter. Fix your #egg=DR14-T.meter fragments. Discarding https://files.pythonhosted.org/packages/64/19/2026c07e9f6fa63236c59a373b824ee755afa1dec98bc6b83032e0690525/dr14-t.meter-1.0.10.tar.gz#sha256=93918e33e9c814805c281493e1a36530573d824a48dbb260008daf92df527f2b (from https://pypi.org/simple/dr14-t-meter/): Requested dr14-tmeter from https://files.pythonhosted.org/packages/64/19/2026c07e9f6fa63236c59a373b824ee755afa1dec98bc6b83032e0690525/dr14-t.meter-1.0.10.tar.gz#sha256=93918e33e9c814805c281493e1a36530573d824a48dbb260008daf92df527f2b has inconsistent name: filename has 'dr14-t-meter', but metadata has 'dr14-tmeter' ERROR: Could not find a version that satisfies the requirement DR14-T.meter (from versions: 1.0.10, 1.0.15, 1.0.16) ERROR: No matching distribution found for DR14-T.meter

djfake commented 2 years ago

got it to install locally by downloading source and running ' pip3 install -e dr14-t.meter-1.0.16'

changed setup.py line 51 and dr14_global.py line 53 both to read 'dr14_t.meter'

josiahmerola commented 1 year ago

Thanks for the workaround @djfake. I had the exact same issue today and your steps fixed it. I'm also on Ubuntu 22.04 LTS

Anth-0ny commented 2 weeks ago

I want to do this, but I dont know how to change the source code. Do I have to download the zip file, or do I have to clone it using htpps? Also, my computer runs linux mint xfce 22 if thats important. I am new to this, so please mind my inexperience.