Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

pip install command does not work as expected #88

Open
Billijk opened this issue May 9, 2023 · 2 comments
Open

pip install command does not work as expected #88

Billijk opened this issue May 9, 2023 · 2 comments

Comments

@Billijk
Copy link

Billijk commented May 9, 2023

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

@mayank31398
Copy link
Collaborator

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

@Billijk
Copy link
Author

Billijk commented Jul 10, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants