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

Installing clean environment fails after execution of "bash docs/linux_install_full.sh" #1907

Open
juerware opened this issue Dec 13, 2024 · 0 comments

Comments

@juerware
Copy link

juerware commented Dec 13, 2024

From clear environment, installing full environment is wanted executing:
bash docs/linux_install_full.sh
Current checkout of the respository a0fcc334 (latest one at the moment of execution)
Error shown:

+ bash ./docs/run_patches.sh
++ python3.10 -c 'import site; print(site.getsitepackages()[0])'
+ sp=/root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages
+ sed -i 's/with HiddenPrints():/if True:/g' /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/langchain_community/utilities/serpapi.py
+ sed -i 's/client='\''ANDROID_MUSIC'\''/client='\''ANDROID'\''/g' /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/pytube/innertube.py
+ sed -i s/17.31.35/19.08.35/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/pytube/innertube.py
+ sed -i s/17.33.2/19.08.35/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/pytube/innertube.py
+ sed -i s/17.31.35/19.08.35/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/pytube/innertube.py
+ sed -i s/17.33.2/19.08.35/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/pytube/innertube.py
+ sed -i s/5.16.51/6.40.52/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/pytube/innertube.py
+ sed -i s/5.21/6.41/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/pytube/innertube.py
+ sed -i s/pytubefixfix/pytubefix/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fiftyone/utils/youtube.py
+ sed -i s/Pytube/PytubeFix/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fiftyone/utils/youtube.py
+ sed -i s/PytubeFixFix/PytubeFix/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fiftyone/utils/youtube.py
+ sed -i s/Pytube/Pytubefix/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fiftyone/utils/youtube.py
+ sed -i 's/pytube>=15/pytube>=6/g' /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fiftyone/utils/youtube.py
+ sed -i s/pytube/pytubefix/g /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fiftyone/utils/youtube.py
+ sed -i 's/except OSError:/except (OSError, RuntimeError):/g' /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/anyio/_backends/_asyncio.py
+ sed -i 's/while True:/while True:\n            time.sleep(0.001)\n/g' /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/gradio_client/client.py
+ patch /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/transformers/modeling_utils.py docs/trans.patch
patching file /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/transformers/modeling_utils.py
Hunk #1 FAILED at 3412.
1 out of 1 hunk FAILED -- saving rejects to file /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/transformers/modeling_utils.py.rej

In the same commit but following the install documentation with following error:
https://github.com/h2oai/h2ogpt/blob/main/docs/README_LINUX.md#install

+ bash ./docs/run_patches.sh
++ python3.10 -c 'import site; print(site.getsitepackages()[0])'
+ sp=/root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages
+ sed -i 's/with HiddenPrints():/if True:/g' /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/langchain_community/utilities/serpapi.py
+ sed -i 's/except OSError:/except (OSError, RuntimeError):/g' /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/anyio/_backends/_asyncio.py
+ sed -i 's/while True:/while True:\n            time.sleep(0.001)\n/g' /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/gradio_client/client.py
+ patch /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/transformers/modeling_utils.py docs/trans.patch
patching file /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/transformers/modeling_utils.py
Hunk #1 FAILED at 3412.
1 out of 1 hunk FAILED -- saving rejects to file /root/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/transformers/modeling_utils.py.rej
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

1 participant