Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install -e ./graphrag broke python #78

Open
dongyingname opened this issue Jul 30, 2024 · 4 comments
Open

pip install -e ./graphrag broke python #78

dongyingname opened this issue Jul 30, 2024 · 4 comments

Comments

@dongyingname
Copy link

After I run
pip install -e ./graphrag,
my pycharm pops
Cannot set up a python SDK at GraphRAG-Local-UI (C:/Users/dongy/anaconda3/envs/GraphRAG-Local-UI/python.exe). The SDK seems invalid
Then I run
pip install -r requirements.txt
'gbk' codec can't decode byte 0xae in position 38: illegal multibyte sequence
It seems the first install broke python somehow, and pycharm can nolonger add this env's python as the intepreter.
image

@Tovi163
Copy link

Tovi163 commented Jul 30, 2024

试试把你的路径换成英文的
image

@dongyingname
Copy link
Author

试试把你的路径换成英文的 image
thanks it worked.
However, when I continued to pip install -r requirements.txt, it showed
graphrag 1.0.13.dev46 requires aiofiles<25.0.0,>=24.1.0, but you have aiofiles 23.2.1 which is incompatible.

@Tovi163
Copy link

Tovi163 commented Aug 11, 2024

试试把你的路径换成英文的 image
thanks it worked.
However, when I continued to pip install -r requirements.txt, it showed
graphrag 1.0.13.dev46 requires aiofiles<25.0.0,>=24.1.0, but you have aiofiles 23.2.1 which is incompatible.

把有问题的版本都卸载掉 @dongyingname
pip uninstall aiofiles

@ciri
Copy link

ciri commented Oct 17, 2024

For me, what worked was editing the requirements.txt and forcing it to install the correct version:

aiofiles==24.1.0
future

Then reinstall:

pip install -r requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants