Giter Site home page Giter Site logo

Comments (8)

buriburisuri avatar buriburisuri commented on August 28, 2024

Sorry. Python 3 is not supported not yet. Try 2.7 ver.

from speech-to-text-wavenet.

fosskers avatar fosskers commented on August 28, 2024

Alright, thanks. I'll let you know how it goes.

from speech-to-text-wavenet.

fosskers avatar fosskers commented on August 28, 2024

Almost...

Traceback (most recent call last):
  File "recognize.py", line 4, in <module>
    import librosa
  File "/usr/lib/python2.7/site-packages/librosa/__init__.py", line 18, in <module>
    from . import display
  File "/usr/lib/python2.7/site-packages/librosa/display.py", line 21, in <module>
    import matplotlib.pyplot as plt
  File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 114, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/usr/lib/python2.7/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
    globals(),locals(),[backend_name],0)
  File "/usr/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 6, in <module>
    from matplotlib.externals.six.moves import tkinter as Tk
  File "/usr/lib/python2.7/site-packages/matplotlib/externals/six.py", line 199, in load_module
    mod = mod._resolve()
  File "/usr/lib/python2.7/site-packages/matplotlib/externals/six.py", line 113, in _resolve
    return _import_module(self.mod)
  File "/usr/lib/python2.7/site-packages/matplotlib/externals/six.py", line 80, in _import_module
    __import__(name)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk8.6.so: cannot open shared object file: No such file or directory

from speech-to-text-wavenet.

buriburisuri avatar buriburisuri commented on August 28, 2024

I find that librosa requires matplotlib. Sorry but librosa is mandatory for this project and you need to install matplotlib. ( If you have problem with TKinter, then try in the global python env. not in the virtualenv)

from speech-to-text-wavenet.

fosskers avatar fosskers commented on August 28, 2024

Both are already installed actually, in the global environment.

from speech-to-text-wavenet.

buriburisuri avatar buriburisuri commented on August 28, 2024

I think this is librosa library and your environment.

Please, refer issue #8 and http://stackoverflow.com/questions/5459444/tkinter-python-may-not-be-configured-for-tk

from speech-to-text-wavenet.

fosskers avatar fosskers commented on August 28, 2024

I'm on Arch Linux, and the solution was to install TK via: sudo pacman -S tk

from speech-to-text-wavenet.

AlvinChen13 avatar AlvinChen13 commented on August 28, 2024

For CentOS, if you encounter the following error, please do:

sudo yum install tk-devel tkinter

File "/usr/lib64/python2.7/site-packages/matplotlib/backends/init.py", line 32, in pylab_setup
globals(),locals(),[backend_name],0)
File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 6, in
from six.moves import tkinter as Tk
File "/usr/lib/python2.7/site-packages/six.py", line 203, in load_module
mod = mod._resolve()
File "/usr/lib/python2.7/site-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/usr/lib/python2.7/site-packages/six.py", line 82, in _import_module
import(name)
ImportError: No module named Tkinter

from speech-to-text-wavenet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.