dr14_t.meter icon indicating copy to clipboard operation
dr14_t.meter copied to clipboard

Failed to install on Ubuntu 18.04 LTS

Open wdysun opened this issue 5 years ago • 5 comments

On Ubuntu 18.04 I tried to install the tar.gz version of the package using

sudo python setup.py install --root="/" --prefix="usr" --optimize=1

I get the following error Traceback (most recent call last): File "/usr/bin/dr14_tmeter", line 21, in <module> import dr14tmeter.dr14_tmeter ImportError: No module named dr14tmeter.dr14_tmeter

I also tried the *.deb version, but it doesn't install saying that I miss the python-support package. I tried to install it from pip, but it says that this is a deprecated package.

Any idea?

wdysun avatar Jan 24 '20 10:01 wdysun

At the moment you can download the current version from this repo.

I'll try to update the Ububtu package "sooner"

simon-r avatar Jan 24 '20 10:01 simon-r

I tried to download the current version on this repo and it gives again

Traceback (most recent call last): File "/usr/bin/dr14_tmeter", line 21, in <module> import dr14tmeter.dr14_tmeter ImportError: No module named dr14tmeter.dr14_tmeter

wdysun avatar Jan 24 '20 10:01 wdysun

try with:

git clone https://github.com/simon-r/dr14_t.meter.git cd dr14_t.meter ./dr14_tmeter

simon-r avatar Jan 24 '20 12:01 simon-r

Brilliant this worked for me!

Going through the --help I noticed number of options like --hist, --spectrogram and the like. IHow do you use them on single music file?

Thanks a lot

wdysun avatar Jan 24 '20 13:01 wdysun

It is not working, it's still giving the same error:

Traceback (most recent call last):
  File "/usr/bin/dr14_tmeter", line 21, in <module>
    import dr14tmeter.dr14_tmeter
ImportError: No module named 'dr14tmeter'

When run locally:

Traceback (most recent call last):
  File "./dr14_tmeter", line 26, in <module>
    dr14tmeter.dr14_tmeter.main()
  File "/home/xxx/dr14docker/dr14_t.meter/dr14tmeter/dr14_tmeter.py", line 67, in main
    if db_is_enabled():
  File "/home/xxx/dr14docker/dr14_t.meter/dr14tmeter/dr14_config.py", line 103, in db_is_enabled
    s = get_config_filed('database', 'enabled')
  File "/home/xxx/dr14docker/dr14_t.meter/dr14tmeter/dr14_config.py", line 113, in get_config_filed
    cfg_file = get_config_file()
  File "/home/xxx/dr14docker/dr14_t.meter/dr14tmeter/dr14_config.py", line 44, in get_config_file
    cfg_dir = get_config_directory()
  File "/home/xxx/dr14docker/dr14_t.meter/dr14tmeter/dr14_config.py", line 38, in get_config_directory
    os.mkdir(cfg_dir)
FileNotFoundError: [Errno 2] No such file or directory: '/home/xxx/.config/dr14tmeter

githoober avatar May 17 '20 00:05 githoober