facebookresearch / voxpopuli

A large-scale multilingual speech corpus for representation learning, semi-supervised learning and interpretation
Other
510 stars 51 forks source link

cannot import name 'LANGUAGES' from 'voxpopuli' #32

Closed wiamfa closed 2 years ago

wiamfa commented 2 years ago

when i run in google colab !python /content/voxpopuli/voxpopuli/download_audios.py --subset asr in google colab , it gives me the following error : raceback (most recent call last): File "/content/voxpopuli/voxpopuli/download_audios.py", line 13, in from voxpopuli import LANGUAGES, LANGUAGES_V2, YEARS, DOWNLOAD_BASE_URL ImportError: cannot import name 'LANGUAGES' from 'voxpopuli' (/usr/local/lib/python3.7/dist-packages/voxpopuli/init.py)

kahne commented 2 years ago

Hi @wiamfa , please use %cd /content/voxpopuli and !python -m voxpopuli.download_audios instead to resolve the importing issue.

wiamfa commented 2 years ago

@kahne thanks it works.