im trying to deploy agent in lk cloud - => ERR...
# ask-ai
f
im trying to deploy agent in lk cloud - => ERROR [8/9] RUN uv sync 1.0s ------ > [8/9] RUN uv sync: 0.210 Using CPython 3.11.13 interpreter at: /usr/local/bin/python3 0.210 Creating virtual environment at: .venv 0.918 Resolved 108 packages in 708ms 0.938 error: Distribution
av==16.0.0 @ registry+https://pypi.org/simple
can't be installed because it doesn't have a source distribution or wheel for the current platform 0.938 0.938 hint: You're using CPython 3.11 (
cp311
), but
av
(v16.0.0) only has wheels with the following Python ABI tag:
cp310
------ build failed for iad.ocir.io/axyci3pr8vxm/production-cloud-agents:p-4rcxbs9gwp6-ca-ecrj4376xbqx-v20251006135933: failed to solve: process "/bin/sh -c uv sync" did not complete successfully: exit code: 2
t
Thanks for reaching out, Tushar. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you please let me know which Python version and platform you're using for this deployment? Also, if it's possible, could you try using Python 3.10 instead of 3.11? It looks like the
av
package works best with Python 3.10. I'm here to help you get this sorted out!
f
Here is my .toml file - [build-system] requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "agent-starter-python" version = "1.0.0" description = "Simple voice AI assistant built with LiveKit Agents for Python" requires-python = ">=3.9" dependencies = [ "livekit", "livekit-agents[openai,turn-detector,silero,cartesia,deepgram]==1.2.9", "livekit-plugins-noise-cancellation~=0.2.1", "livekit-plugins-anthropic~=1.0", "livekit-plugins-openai~=1.0", "livekit-plugins-silero~=1.0", "livekit-plugins-turn-detector~=1.0", "livekit-agents[elevenlabs]~=1.0", "python-dotenv", ] [dependency-groups] dev = [ "pytest", "pytest-asyncio", "ruff", ] [tool.setuptools.packages.find] where = ["src"] [tool.setuptools.package-dir] "" = "src" [tool.pytest.ini_options] asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" [tool.ruff] line-length = 88 target-version = "py39" [tool.ruff.lint] select = ["E", "F", "W", "I", "N", "B", "A", "C4", "UP", "SIM", "RUF"] ignore = ["E501"] # Line too long (handled by formatter) [tool.ruff.format] quote-style = "double" indent-style = "space"
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
f
try to set the python version in the toml file change requires-python = ">=3.9" to: • requires-python = "==3.11.*" • requires-python = "==3.13.*"