error intalling from linux_install_full.sh
juerware opened this issue · comments
juerware commented
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 kumar commented
have you created a new enviornment?
juerware commented
No, it is the same environment I have been using for long time
santosh kumar commented
You should create a new one that would work
PSEUDOTENSOR / Jonathan McKinney commented
Please try again. The s3 file was not yet updated with a release version, but now is.
juerware commented
Ok, that´s working.