Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install on Ubuntu 18.04 LTS #63

Open
wdysun opened this issue Jan 24, 2020 · 5 comments
Open

Failed to install on Ubuntu 18.04 LTS #63

wdysun opened this issue Jan 24, 2020 · 5 comments

Comments

@wdysun
Copy link

wdysun commented Jan 24, 2020

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?

@simon-r
Copy link
Owner

simon-r commented Jan 24, 2020

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

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

@wdysun
Copy link
Author

wdysun commented Jan 24, 2020

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

@simon-r
Copy link
Owner

simon-r commented Jan 24, 2020

try with:

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

@wdysun
Copy link
Author

wdysun commented Jan 24, 2020

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

@githoober
Copy link

githoober commented May 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants