Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic import not working #9

Open
jjperez9000 opened this issue Jul 16, 2024 · 5 comments
Open

Basic import not working #9

jjperez9000 opened this issue Jul 16, 2024 · 5 comments

Comments

@jjperez9000
Copy link

jjperez9000 commented Jul 16, 2024

  • Vapi Python SDK version: 0.1.0
  • Python version: 3.11.5
  • Operating System:

Description

For some reason the basic pip installation isn't working.
Looks like Vapi isn't detected in the vapi_python package.

What I Did

from vapi_python import Vapi
results in:
ImportError: cannot import name 'Vapi' from 'vapi_python' (c:\Python311\Lib\site-packages\vapi_python_init_.py)

@nikhilro
Copy link
Contributor

#5 (comment)

Currently windows not supported. Daily is working on it.

@cbhirsch
Copy link

cbhirsch commented Nov 8, 2024

After some exploration it looks like the issue has to do with daily-python not being in the PyPI library. Therefore since this is a required library the whole download seems to fail.

@killerapp
Copy link

I'm getting this in Feb of 2025.

@rajeevrj256
Copy link

ImportError: cannot import name 'Vapi' from 'vapi_python'

I have tried installing vapi_python using both pip install vapi_python and pip install git+https://github.com/VapiAI/client-sdk-python.git, but I keep running into dependency issues, particularly with daily-python.

@ENGELdevelopment-de
Copy link

I am using python 3.12.9 on Windows 11 and downloaded via pip -m install vapi_python into a virtual environment. With that I got package successfully installed ("Successfully installed vapi_python-0.1.0").

However, I received a pip info: "INFO: pip is looking at multiple versions of vapi-python to determine which version is compatible with other requirements."

So, expecting to get the latest version (0.1.9), I got 0.1.0. And this version is basically empty. I checked the file in "venv\Lib\site-packages\vapi_python\vapi_python.py. It contains only two lines of code.

Trying to specify the package install with python -m pip install vapi_python==0.1.9 it fails with pip error:

ERROR: Could not find a version that satisfies the requirement daily-python (from vapi-python) (from versions: none)
ERROR: No matching distribution found for daily-python

So, reading also issue #5, it's still not fixed for Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants