Closed kehh closed 3 weeks ago
which was the configuration that you used?
OS: Ubuntu 20.04 Python: 3.12.3
npx create-llama
✔ What is your project named? … my-app
✔ Which template would you like to use? › Agentic RAG (single agent)
✔ Which framework would you like to use? › FastAPI (Python)
✔ Would you like to generate a NextJS frontend for your FastAPI (Python) backend? … No / Yes
✔ Would you like to set up observability? › No
✔ Please provide your OpenAI API key (leave blank to skip): …
✔ Which data source would you like to use? › Use an example PDF (you can add your own data files later)
✔ Would you like to add another data source? › No
✔ Would you like to use LlamaParse (improved parser for RAG - requires API key)? … no / yes
✔ Would you like to use a vector database? › No, just store the data in the file system
✔ Would you like to build an agent using tools? If so, select the tools here, otherwise just press enter ›
✔ How would you like to proceed? › Generate code and install dependencies (~2 min)
Creating a new LlamaIndex app in /home/kehan/scratch/my-app.
Initializing Python project with template: streaming
No tools selected - use optimized context chat engine
Adding additional dependencies
Adding tools dependencies
Added docx2txt, llama-index-agent-openai to pyproject.toml
Installing python dependencies using poetry. This may take a while...
Creating virtualenv app-efD1G0ND-py3.12 in /home/kehan/.cache/pypoetry/virtualenvs
However I have just uninstalled pip via pipx and generated a new project and it's now worked. I had also run a system update so maybe that resolved it.
I got an error about being unable to uninstall marshmallow, saying pip was not found.
Worked around the issue by running pipx install pip