LCAV / pyroomacoustics

Pyroomacoustics is a package for audio signal processing for indoor applications. It was developed as a fast prototyping platform for beamforming algorithms in indoor scenarios.
https://pyroomacoustics.readthedocs.io
MIT License
1.46k stars 432 forks source link

Cannot import pyroomacoustics #371

Closed BakerBunker closed 1 week ago

BakerBunker commented 1 week ago

After 0.8.0 update, pyroomacoustics cannot be imported.

ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-2-ac8b5d4f9041>](https://localhost:8080/#) in <cell line: 1>()
----> 1 import pyroomacoustics as pra

1 frames
[/usr/local/lib/python3.10/dist-packages/pyroomacoustics/__init__.py](https://localhost:8080/#) in <module>
    125 from . import phase, transform
    126 from .acoustics import *
--> 127 from .beamforming import *
    128 from .directivities import *
    129 from .metrics import *

[/usr/local/lib/python3.10/dist-packages/pyroomacoustics/beamforming.py](https://localhost:8080/#) in <module>
     31 from . import utilities as u
     32 from . import windows
---> 33 from .directivities import DirectionVector, Directivity, Omnidirectional
     34 from .parameters import constants
     35 from .soundsource import build_rir_matrix

ModuleNotFoundError: No module named 'pyroomacoustics.directivities'
fakufaku commented 1 week ago

Yeek!! The halloween spirit must be with us... 👻 Sorry for that. I have pushed a fix as v0.8.1. Please reinstall as follows.

python -m pip install -U pyroomacoustics
BakerBunker commented 1 week ago

Thank you, fixed!