h2oai / h2ogpt

Private chat with local GPT with document, images, video, etc. 100% private, Apache 2.0. Supports oLLaMa, Mixtral, llama.cpp, and more. Demo: https://gpt.h2o.ai/ https://gpt-docs.h2o.ai/
http://h2o.ai
Apache License 2.0
11.43k stars 1.25k forks source link

error intalling from linux_install_full.sh #1576

Closed juerware closed 7 months ago

juerware commented 7 months ago

According to documentation in order to install in linux machine it is necessary the following execution:

curl -fsSL https://h2o-release.s3.amazonaws.com/h2ogpt/linux_install_full.sh | bash

And it is failed with the following error:

...
...
...
+ sudo unzip -o chromedriver-linux64.zip
Archive:  chromedriver-linux64.zip
  inflating: chromedriver-linux64/LICENSE.chromedriver
  inflating: chromedriver-linux64/chromedriver
+ sudo mv chromedriver-linux64/chromedriver /usr/bin/chromedriver
+ sudo chown root:root /usr/bin/chromedriver
+ sudo chmod +x /usr/bin/chromedriver
+ pip install optimum==1.18.0 -c reqs_optional/reqs_constraints.txt
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting optimum==1.18.0
  Using cached optimum-1.18.0-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: coloredlogs in /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages (from optimum==1.18.0) (15.0.1)
Requirement already satisfied: sympy in /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages (from optimum==1.18.0) (1.12)
INFO: pip is looking at multiple versions of optimum to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install optimum==1.18.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    optimum 1.18.0 depends on transformers<4.40.0 and >=4.26.0
    The user requested (constraint) transformers==4.40.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
santosh-gkg commented 7 months ago

have you created a new enviornment?

juerware commented 7 months ago

No, it is the same environment I have been using for long time

santosh-gkg commented 7 months ago

You should create a new one that would work

pseudotensor commented 7 months ago

Please try again. The s3 file was not yet updated with a release version, but now is.

juerware commented 7 months ago

Ok, that´s working.