@Duckie#8485 @Vapi#3739 can someone help
# general-english
a
@Vapi Support Bot @Vapi can someone help me with a simple python code to run a assistant via API. The code in github isn't working
s
ccing: @Kings_big💫
k
Install the vapi_python SDK, initialize with your API key, then start a call using vapi.start(assistant_id='your-assistant-id'); you can also define the assistant inline or pass overrides as needed.
a
its asking me for daily python but when i install its saying unable to install
k
Kindly share the steps to reproduce it
a
How to Reproduce the Issue with vapi_python **Step 1: Install the Library **Run the following command to install the vapi_python library: pip install vapi_python **Step 2: Create and Run vapi.py **Create a Python file named vapi.py with the following code: from vapi_python import Vapi # Correctly importing Vapi vapi = Vapi(api_key='') # Replace with your actual API key vapi.start(assistant_id='') # Replace with your actual Assistant ID vapi.stop() **Step 3: Encountering the Error **When you run vapi.py, you may encounter the following error message: ** from vapi_python import Vapi # Correctly importing Vapi ** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python312\Lib\site-packages\vapi_python\__init__.py", line 3, in from .vapi_python import Vapi File "C:\Python312\Lib\site-packages\vapi_python\vapi_python.py", line 3, in from daily_call import DailyCall ModuleNotFoundError: No module named 'daily_call' https://cdn.discordapp.com/attachments/1364354191111491717/1364701262649757706/vapi_python.7z?ex=680aa097&is=68094f17&hm=5f6e6e9488f645c5f0e4d4bdf67f6a8263bb1879d9871472cd3d3ece8923968f&
pls help urgently bro
@Kings_big💫 @Shubham Bajaj
s
@Arvind I have informed the SDK team about can you create this issue on python github SDK?
let me know once you create the issue.
a
i have already put a ticket to ur support team no respons via email as well
s
The SDK-related issues have to be raised on the GitHub platform. Even if you put them on email or Discord, we have to redirect you to the GitHub platform eventually so that the SDK team can take it up
2 Views