Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Having issues with Vapi_python dependencies. #5

Copy link
Copy link
@vihandesilva

Description

@vihandesilva
Issue body actions
  • Vapi Python SDK version: 0.1
  • Python version: 3.11
  • Operating System: Windows 11

Description

As according to instructions provided in the Readme file, I installed vapi_python using the following command:

pip install vapi_python

And I executed the following code to test the connection:

from vapi_python import Vapi

if __name__ == "__main__":
    vapi = Vapi(api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
    vapi.start(assistant_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)

(Please note that the key id and assistant id work and they have been anonymized)

I am getting the following error when executing this code:

Traceback (most recent call last): File "E:\code\python_playground\vapi_test.py", line 1, in <module> from vapi_python import Vapi ImportError: cannot import name 'Vapi' from 'vapi_python' (X:\Users\vihan\AppData\Local\Programs\Python\Python311\Lib\site-packages\vapi_python\__init__.py)

Can someone explain me the cause of this error or an alternative to avoid it? The pip package installation of vapi_python is successful.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.