Thank you. It was some kind of a compatibility issue. I just created a virtual environment and it resolved it.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| AttributeError: type object 'Audio' has no attribute 'speech' | 5 | 3035 | May 1, 2024 | |
| TTS API access, not finding the key | 3 | 1096 | April 20, 2024 | |
| Cannot import name 'OpenAI' from 'openai'. Python 3.12 | 2 | 3474 | April 23, 2024 | |
| VSCode-Python file-Text-to-speech -OpenAI-error | 1 | 87 | July 12, 2025 | |
| Unknown Issue with Calling API / Getting Respone | 0 | 508 | December 19, 2023 |