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

Unable to install daily-python via pip for pipecat-ai integration locally #27

Open
Daniel-Frei opened this issue Oct 3, 2024 · 0 comments

Comments

@Daniel-Frei
Copy link

Hi,

I experienced an issue while trying to install daily-python as part of the pipecat-ai integration (with the daily extra) locally (pip install -r requirements.txt). This issue does not occur when using Docker, Here's what my requirements.txt looks like based on the pipecat-ai documentation:

pipecat-ai[daily,openai,silero]>=0.0.41,<0.0.42
python-dotenv>=1.0.0
aiohttp>=3.8.5
loguru>=0.5.3

When I attempt to install the requirements via pip:

pip install -r requirements.txt

I encounter the following error:


INFO: pip is looking at multiple versions of pipecat-ai[daily,openai,silero] to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement daily-python~=0.10.1; extra == "daily" (from pipecat-ai[daily,openai,silero])
ERROR: No matching distribution found for daily-python~=0.10.1; extra == "daily"

It seems like the daily-python dependency cannot be found when installing pipecat-ai with the daily extra.

Additionally, I manually downloaded the daily-python v0.10.1 zip file from the daily-python releases and tried to install it locally with:

pip install C:\Users\USERNAME\Downloads\daily-python-0.10.1.zip

Unfortunately, I encountered the following error:

error: failed to get `daily-core` as a dependency of package `daily-python v0.10.1`

Caused by:
  failed to load source for dependency `daily-core`

Caused by:
  Unable to update C:\Users\USERNAME\AppData\Local\Temp\daily-core

Caused by:
  failed to read `C:\Users\USERNAME\AppData\Local\Temp\daily-core\Cargo.toml`

Caused by:
  The system cannot find the path specified. (os error 3)

Checking for Rust toolchain...
Running `maturin pep517 write-dist-info`

It seems like the daily-core dependency is missing or misconfigured, and the installation cannot proceed due to missing files.
System Information:

    Python: 3.10
    Pip: 23.0.1
    Rust: rustc 1.81.0, cargo 1.81.0
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

1 participant