-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
Instructions can be updated for a smoother start. It looks like pip install assemblyai[extras]
is a requirement to get any python imports to work.
Expected this to work as per the instructions:
pip3 install assemblyai
import assemblyai as aai
But got:
File ~/Library/Python/3.9/lib/python/site-packages/assemblyai/extras.py:7
5 import pyaudio
6 except ImportError:
--> 7 raise ImportError(
8 "You must install the extras for this SDK to use this feature. "
ImportError: You must install the extras for this SDK to use this feature. Run `pip install assemblyai[extras]` to install the extras. Make sure to install `apt install portaudio19-dev` (Debian/Ubuntu) or `brew install portaudio` (MacOS) before installing the extras.
Then had to do these other steps to be able to get the python import to work:
3. brew install portaudio
- works fine
4. pip install assemblyai[extras]
Correct instructions:
pip3 install 'assemblyai[extras]'
brew install portaudio
The instructions on the activations page should also reflect this:
Python 3.9.6
IPython 8.12.0
macOS Ventura 13.3
aarontsl and pierrocknroll
Metadata
Metadata
Assignees
Labels
No labels