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

dependency #82

Open
n-m-h opened this issue Jun 9, 2024 · 2 comments
Open

dependency #82

n-m-h opened this issue Jun 9, 2024 · 2 comments

Comments

@n-m-h
Copy link

n-m-h commented Jun 9, 2024

when i run pip install -r requirements.txt ,terminal always arise 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.
outlines 0.0.34 requires pydantic>=2.0, but you have pydantic 1.10.13 which is incompatible.
when i pip install --upgrade pydantic,there is a error:
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.
fastapi 0.111.0 requires pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4, but you have pydantic 2.0 which is incompatible.
vllm 0.2.6 requires pydantic==1.10.13, but you have pydantic 2.0 which is incompatible.

so i don't know what can i do?how to solve these problems about the environment!!!!

@notoookay
Copy link
Contributor

Hi, have you tried to use setup.sh? It works for me with command source setup.sh on ubuntu 22.04.

@fate-ubw
Copy link

You can try using the environment I've configured: https://github.com/fate-ubw/RAGLAB/blob/main/environment.yml. Running conda env create -f environment.yml will help avoid many errors, and note that installing flash-attn manually is recommended.

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