This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Aleh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm sorry to hear you're encountering the error "No module named 'lk_blingfire'". This usually means that the
lk_blingfire
module didn't install or build correctly. Let’s work through this together with some steps that should help resolve the issue: 1. First, please make sure the package is installed by running:
pip install livekit-blingfire
2. Next, double-check that the necessary build dependencies are in place: ◦ CMake (version 3.19 or higher) ◦ pybind11 ◦ C++ compiler supporting C++17 ◦ Git 1. Also, confirm that you’re using Python 3.9 or a newer version. 2. If it’s still not working, try a clean reinstall with detailed output to help spot any build errors:
pip uninstall livekit-blingfire
pip install --no-cache-dir --verbose livekit-blingfire
3. Should these steps not do the trick, you can manually build the module from source by running:
git clone https://github.com/livekit/agents
cd agents/livekit-plugins/livekit-blingfire
pip install .
If you’re still facing difficulties after trying these, please don’t hesitate to share a bit more info with me: • Your operating system and Python version • The full error message and traceback you’re seeing • Any build error details from the verbose install output We’re here to get this sorted out for you! Sources: livekit-plugins/livekit-blingfire/README.md
b
(ai-bot-scenario) deadsage14235icloud.com@MacBook-Pro ai_bot_scenario_1 % uv pip show livekit-blingfire Name: livekit-blingfire Version: 1.0.1 Location: /Users/deadsage14235icloud.com/Documents/scnsoft_workflow/AI/ai_bot_scenario_1/.venv/lib/python3.12/site-packages Requires: Required-by: livekit-agents ImportError: Error importing plugin "backend.tests.fixtures.agent_session": No module named 'lk_blingfire'
t
It looks like the error is happening because the
lk_blingfire
module isn’t being found properly. Don’t worry, I’m here to help you through this! Based on your setup, here are some friendly steps you can follow to get things working: 1. First, let’s make sure the correct package is installed. You can do this by running:
pip install livekit_blingfire
2. Next, it’s a good idea to double-check your Python version and macOS architecture to ensure compatibility. The package supports: You can verify your setup with:
python --version
python -c "import platform; print(platform.machine())"
◦ Python versions: 3.9, 3.10, 3.11, 3.12, and 3.13 ◦ macOS architectures: Intel (x86_64) and Apple Silicon (arm64) 1. If the installation doesn’t go through smoothly, try these steps: ◦ Upgrade pip and related tools to make sure everything’s up to date:
pip install --upgrade pip setuptools wheel
◦ Then, uninstall and reinstall the package with detailed output to catch any issues:
pip uninstall livekit_blingfire
pip install --no-cache-dir --verbose livekit_blingfire
1. If you still can’t import the module, let’s check where it’s installed and your import paths:
python -c "import livekit_blingfire; print(livekit_blingfire.__file__)"
python -c "import sys; print('\n'.join(sys.path))"
2. And if the pre-compiled wheels aren’t working, you can try building the module from source with these commands:
git clone https://github.com/livekit/agents.git
cd agents/livekit-plugins/livekit-blingfire
pip install .
If you run into any more bumps or need extra help, please feel free to share these details with me: • Your Python version and macOS architecture • Any error messages or build logs you’re seeing Sources: livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/__init__.py
f
@boundless-energy-78552 @refined-appointment-81829 We are facing this as well with LK Agents v1.2.14 version. Is any hotfix being released for this?
➕ 2
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!
b
@flaky-hospital-13625 i'm not alone!
f
Yes, brother
@better-sandwich-65834 I just tried adding
livekit-blingfire == 1.0.0
as a dependency and my worker is starting now. Check if this works for you too.
❤️ 1
b
oh, thanks! i'll check
@flaky-hospital-13625 worked as well!
🙌 1