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

'pysilero-vad==1.0.0' no longer installs with Python 3.12 #246

Open
GlassOnTin opened this issue Dec 11, 2024 · 4 comments
Open

'pysilero-vad==1.0.0' no longer installs with Python 3.12 #246

GlassOnTin opened this issue Dec 11, 2024 · 4 comments
Assignees

Comments

@GlassOnTin
Copy link

Pysilero-vad is now in v2.0.0.

Pysilero-vad used setup.py for install. This is failing in >=Python 3.12
https://packaging.python.org/en/latest/discussions/setup-py-deprecated/

FIX:

  1. Upgrade or verify wyoming-satellite for pysiero-vad v2.0.0.
    or
  2. Modify wyoming-satellite README.md to suggest using:
pyenv install 3.11
pyenv local 3.11  # Sets Python 3.11 for this directory
python -m venv venv  # This will now use Python 3.11
source venv/bin/activate
pip install 'pysilero-vad==1.0.0'
@synesthesiam synesthesiam self-assigned this Dec 12, 2024
@synesthesiam
Copy link
Contributor

Thanks for letting me know. Software rot is getting faster and faster in Python 😄

@sixtyfive
Copy link

sixtyfive commented Jan 15, 2025

2.0.0 installs fine but causes InvalidChunkSizeError 😔

@synesthesiam
Copy link
Contributor

2.0.0 installs fine but causes InvalidChunkSizeError 😔

Use the chunk_samples or chunk_bytes methods of SileroVoiceActivityDetector to get the proper chunk size. They got more strict with the newer models.

@synesthesiam
Copy link
Contributor

Migrated to pyproject.toml: rhasspy/pysilero-vad@cb6831c

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