Giter Club home page Giter Club logo

Comments (3)

gabrielchua avatar gabrielchua commented on May 17, 2024 1

Thanks for reaching out! And my bad

I realised this repo is specifically for deployment on streamlit's free hosting.

Can you try:

  1. Removing pysqlite3-binary in the requirements.txt
  2. Commenting out lines 5 to 7 in app.py:
__import__('pysqlite3')
import sys
sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')

from ragxplorer.

Mike92988 avatar Mike92988 commented on May 17, 2024

Having a similar issue trying to run this on a codespace. commeneted out lines as described but seeing this in the output when running streamlit run app.py

Traceback (most recent call last):
File "/workspaces/RAGxplorer/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "/workspaces/RAGxplorer/app.py", line 15, in <module>
from utils.rag import ...
File "/workspaces/RAGxplorer/utils/rag.py", line 6, in <module>
import chromadb
File "/workspaces/RAGxplorer/venv/lib/python3.10/site-packages/chromadb/init.py", line 79, in <module>
raise RuntimeError("Your system has an unsupported version of sqlite3. ChromaDB requires sqlite3 >= 3.35.0.")
RuntimeError: Your system has an unsupported version of sqlite3. ChromaDB requires sqlite3 >= 3.35.0.

from ragxplorer.

gabrielchua avatar gabrielchua commented on May 17, 2024

Hi @Mike92988 - could you run the following & share the results?

in the terminal:

pip freeze

In python:

import sqlite3
sqlite3.version

from ragxplorer.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.