Giter Site home page Giter Site logo

audiotools's People

Contributors

aluebs avatar anjoola avatar eeishaan avatar entodi avatar hohsiangwu avatar hugofloresgarcia avatar iyaja avatar lgestin avatar pseeth avatar sotelo avatar tdeboissiere avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

audiotools's Issues

No such file or directory headers.html

Hi @hugofloresgarcia thanks for the vampnet โค we have started receiving this error.

Status Legend:
(OK):download completed.
/content/vampnet
Traceback (most recent call last):
  File "/content/vampnet/app.py", line 10, in <module>
    import audiotools as at
  File "/usr/local/lib/python3.10/dist-packages/audiotools/__init__.py", line 2, in <module>
    from .core import AudioSignal
  File "/usr/local/lib/python3.10/dist-packages/audiotools/core/__init__.py", line 2, in <module>
    from .audio_signal import AudioSignal
  File "/usr/local/lib/python3.10/dist-packages/audiotools/core/audio_signal.py", line 24, in <module>
    from .playback import PlayMixin
  File "/usr/local/lib/python3.10/dist-packages/audiotools/core/playback.py", line 19, in <module>
    headers = pkg_resources.files(templates).joinpath("headers.html").read_text()
  File "/usr/lib/python3.10/pathlib.py", line 1134, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/usr/lib/python3.10/pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.10/dist-packages/audiotools/core/templates/headers.html'

Importlib issue

Hey :)
Tried to install this to run vampnet.

Get this issue on import

Traceback (most recent call last):
File "/home/erwann/vampnet/scripts/exp/train.py", line 9, in
import audiotools as at
File "/opt/conda/envs/vamp/lib/python3.9/site-packages/audiotools/init.py", line 2, in
from .core import AudioSignal
File "/opt/conda/envs/vamp/lib/python3.9/site-packages/audiotools/core/init.py", line 2, in
from .audio_signal import AudioSignal
File "/opt/conda/envs/vamp/lib/python3.9/site-packages/audiotools/core/audio_signal.py", line 24, in
from .playback import PlayMixin
File "/opt/conda/envs/vamp/lib/python3.9/site-packages/audiotools/core/playback.py", line 19, in
headers = pkg_resources.read_text(templates, "headers.html")
AttributeError: module 'importlib_resources' has no attribute 'read_text'

Running python 3.9.16 in a conda env on Ubuntu 18.04, also tried installing from the previous audiotools commit, but have the same error.

Thanks for the great work :)

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.