severian42 / GraphRAG-Local-UI

GraphRAG using Local LLMs - Features robust API and multiple apps for Indexing/Prompt Tuning/Query/Chat/Visualizing/Etc. This is meant to be the ultimate GraphRAG/KG local LLM app.
MIT License
1.75k stars 207 forks source link

version conflict of aiofile #17

Closed haohaotian1011 closed 4 months ago

haohaotian1011 commented 4 months ago

when I execute "pip install -r requirements.txt" , I find a problem as the following:

Warning!!! Possibly conflicting dependencies found:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. graphrag 0.1.1 requires aiofiles<25.0.0,>=24.1.0, but you have aiofiles 23.2.1 which is incompatible.

I use conda with python==3.11.0 in my environment.

So how can I resolve it? Has anyone encountered the same installation issue as me?

severian42 commented 4 months ago

Hey! Thanks for catching this. I haven't run into this so it might just be a matter of getting rid of the specific versions for aiofiles and see if that works. Also, try deleting your pycache and relaunching the app before reinstalling. That can help give you a clean start