----------------------
To uninstall the older version of LlamaIndex, you can use the pip uninstall command:
pip uninstall llama-index -y
After uninstalling the older version, you can install the newer version using pip install:
pip install -U llama-index --upgrade --no-cache-dir --force-reinstall
If you are upgrading from v0.9.X, it is recommended to follow the
migration guide (), as well as uninstalling your previous version first.
For specific packages, you can also use pip to uninstall and install. For example, to install the
llama-index-llms-deepinfra
package, you would use:
pip install llama-index-llms-deepinfra
And to uninstall it:
pip uninstall llama-index-llms-deepinfra -y
Remember to replace
llama-index-llms-deepinfra
with the name of the package you want to install or uninstall.
Sources:
- LlamaIndex Documentation ()
- LlamaIndex Migration Guide ()
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------