steep-balloon-41261
09/27/2025, 7:15 AMtall-airline-16756
09/27/2025, 7:15 AMtall-airline-16756
09/27/2025, 7:15 AMlivekit-plugins-inworld package, which needs to be installed separately. Don’t worry, I’m here to help you through it! Here’s what you can do:
1. First, install the plugin using pip:
pip install "livekit-agents[inworld]~=1.2"
Or, if you prefer, you can install it directly with:
pip install livekit-plugins-inworld
2. Next, double-check the installation by running:
pip show livekit-plugins-inworld
3. Make sure your Python environment is set up correctly and that you’re using the right interpreter.
4. Don’t forget to set your INWORLD_API_KEY in a .env file and load it in your script using dotenv. This step is important for everything to work smoothly.
If you’re still running into issues, it might help to look for any conflicting package installations or file names in your project directory. Please feel free to reach out if you need any more guidance—I’m here to support you!
Sources: Docs::Agents | livekit-agents/pyproject.toml | avatars/hedra/pipeline_avatar/agent.pyfaint-gold-41196
09/27/2025, 7:17 AMtall-airline-16756
09/27/2025, 7:17 AMlivekit-plugins-inworld (1.2.8) is a bit outdated. The inworld module actually needs version 1.2.11 or higher to work smoothly.
Could you please try upgrading the package by running this command:
pip install --upgrade livekit-plugins-inworld
After that, you can double-check the version with:
pip show livekit-plugins-inworld
Once it’s updated, give your script another go. If you run into any more trouble, I’m here to help—just let me know!faint-gold-41196
09/27/2025, 7:19 AMtall-airline-16756
09/27/2025, 7:20 AMImportError is still happening even after upgrading to version 1.2.11. Let’s work through a few things together to get this sorted out:
1. First, please double-check that there aren’t any local files named livekit.py or plugins.py in your project directory, as these can sometimes cause conflicts with the import.
2. Next, could you try running this command to see if the import works directly in your environment?
python -c "from livekit.plugins import inworld"
3. Also, it would be helpful to verify that the livekit-plugins-inworld package is properly installed in your active virtual environment. Make sure its location matches the Python environment you’re currently using.
If you still run into issues, please share what you find from these steps, and I’ll be here to help you troubleshoot further. We’ll get this figured out together!faint-gold-41196
09/27/2025, 7:25 AMtall-airline-16756
09/27/2025, 7:25 AM