Joooohan / audio-recorder-streamlit

MIT License
60 stars 14 forks source link

Cannot import name 'audio_recorder' from 'audio_recorder_streamlit #6

Closed lagarrueal closed 1 year ago

lagarrueal commented 1 year ago

I've installed the package, and tried to use the sample code provided in the the README file, however, i'm facing this issue every time . image

Joooohan commented 1 year ago

Hi @lagarrueal, which version of streamlit and of the audio recorder are you using ?

lagarrueal commented 1 year ago

Hi, I'm currently running streamlit 1.17.0 and audio-recorder-streamlit 0.0.8.

lagarrueal commented 1 year ago

Hi, just a quick update, I actually got it working today. The only difference from the last time is that I'm running my web browser as admin and I have access to the microphone.

Joooohan commented 1 year ago

Ok, thanks for the update !

v-yunbin commented 1 year ago

Is this issue solved? I have the same problem. my audio-recorder-streamlit version is 0.0.8,streamlit 1.15

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name 'audiorecorder' from 'audio_recorder_streamlit' (/home/ybZhang/miniconda3/lib/python3.8/site-packages/audio_recorder_streamlit/__init__.py)
lagarrueal commented 1 year ago

Hi, just a quick update, I actually got it working today. The only difference from the last time is that I'm running my web browser as admin and I have access to the microphone.

@v-yunbin I don't know if there is really an issue with this, just make sure to launch your browser as admin and that should do the job, at least it did for me.