shaunthecomputerscientist / EDA-GPT

Automated Data Analysis leveraging llms
MIT License
153 stars 30 forks source link

pysqlite3-binary #3

Open Loki1920 opened 3 months ago

Loki1920 commented 3 months ago

I'm getting below error when when trying to install

pip install pysqlite3-binary ERROR: Could not find a version that satisfies the requirement pysqlite3-binary (from versions: none) ERROR: No matching distribution found for pysqlite3-binary

how can i fix this..

shaunthecomputerscientist commented 3 months ago

I'm getting below error when when trying to install

pip install pysqlite3-binary ERROR: Could not find a version that satisfies the requirement pysqlite3-binary (from versions: none) ERROR: No matching distribution found for pysqlite3-binary

how can i fix this..

Did you create a seperate new environment with python > 3.9 and < 3.12? Then installed using requirements.txt?

Loki1920 commented 3 months ago

yes I have created virtual environment ...I'm using Python 3.12.4.....

shaunthecomputerscientist commented 3 months ago

yes I have environment variable ...I'm using Python 3.12.4.....

Okay maybe downgrade it a little bit. Also pysqlite3-binary is used for psycopg2 but i guess you already have sqlite binaries if you are windows user. Try to install other dependencies. And inside Home.py comment out the import of pysqlite3.

shaunthecomputerscientist commented 3 months ago

import('pysqlite3') import sys sys.modules['sqlite3']=sys.modules.pop('pysqlite3')

Only comment these three lines. And see if it works by uploading a dataset. If you don't have api key it will throw error. Make sure you have it.

shaunthecomputerscientist commented 3 months ago

Let me know if you face any issues after running it. https://eda-gpt-24.streamlit.app/EDA_GPT I deployed it on streamlit but it's not a powerful server so it might lag. If you have a powerful cpu then it'll work better locally.

Loki1920 commented 3 months ago

I have already done that ...but when i run the streamlit ...when i click the EDA GPT page ...page upload doesn't complete... Screenshot 2024-07-26 225615

shaunthecomputerscientist commented 3 months ago

Did it show the home page?

Loki1920 commented 3 months ago

yes ..it is ...

shaunthecomputerscientist commented 3 months ago

Show me the logs in the terminal.

Loki1920 commented 3 months ago

It's not showing any log ... image

shaunthecomputerscientist commented 3 months ago

Did you reload the page? While it's running?

Loki1920 commented 3 months ago

yes ..I did but still showing the same thing ...

shaunthecomputerscientist commented 3 months ago

20240726_231159.jpg

20240726_231210.jpg This should be logged on initial oage reload. It will download some nltk packages.

shaunthecomputerscientist commented 3 months ago

Try to change the page to home then settings and so on. And then come back to EDA page.

Loki1920 commented 3 months ago

Still facing the same issue ...

shaunthecomputerscientist commented 3 months ago

Still facing the same issue ...

I think it must be some system issue. Since home page is working but for some reason EDA page is not working. Did you try a different browser?

Loki1920 commented 3 months ago

yes ..I have tried ...but didn't work ...

shaunthecomputerscientist commented 3 months ago

yes ..I have tried ...but didn't work ...

If you want me to make a package which supports structured data analysis i can do that. Or maybe since there are dependency issues i can dockerize it and make a web app for that like Julius ai. The problem is i am not getting time these days. If anyone wants to work on this with me I'll explain the project.