transformers-bloom-inference icon indicating copy to clipboard operation
transformers-bloom-inference copied to clipboard

pip install command does not work as expected

Open Billijk opened this issue 2 years ago • 2 comments

In the readme file, the following command is provided to install required dependencies. pip install flask flask_api gunicorn pydantic accelerate huggingface_hub>=0.9.0 deepspeed>=0.7.3 deepspeed-mii==0.0.2

But when executing this command in shell, the > symbol will be regarded as redirecting operator, which create two files =0.9.0 and =0.7.3, and ignore part of the version constraint.

Maybe change to this: pip install -i https://mirrors.tencent.com/pypi/simple/ flask flask_api gunicorn pydantic accelerate "huggingface_hub>=0.9.0" "deepspeed>=0.7.3" deepspeed-mii==0.0.2

Billijk avatar May 09 '23 09:05 Billijk

its woking on my machine :) But thats weird, this shouldn't be read as a pipe operator. which shell are you using?

mayank31398 avatar May 31 '23 22:05 mayank31398

Sorry for the late reply. I am using bash on a linux machine. GNU bash, version 4.4.19

Billijk avatar Jul 10 '23 03:07 Billijk