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

文档笔误(pip install 'xinference[sglang]')在win10下执行失败——建议统一改为双引号 #2206

Closed
1 of 3 tasks
nikelius opened this issue Sep 2, 2024 · 1 comment
Milestone

Comments

@nikelius
Copy link
Contributor

nikelius commented Sep 2, 2024

System Info / 系統信息

win10

Running Xinference with Docker? / 是否使用 Docker 运行 Xinfernece?

  • docker / docker
  • pip install / 通过 pip install 安装
  • installation from source / 从源码安装

Version info / 版本信息

0.14.x

The command used to start Xinference / 用以启动 xinference 的命令

安装阶段,执行出错。

Reproduction / 复现过程

根据文档:https://inference.readthedocs.io/zh-cn/latest/getting_started/installation.html#installation
安装失败:
补充:采用单引号,在linux下可执行成功,但在windows下执行出现如下错误。
建议:统一改为双引号(sglang和mlx两处)

(py310) admin@DESKTOP-K0UT5D3 G:>pip install 'xinference[sglang]' -U
ERROR: Invalid requirement: "'xinference[sglang]'"

(py310) admin@DESKTOP-K0UT5D3 G:>pip install 'xinference[mlx]'
ERROR: Invalid requirement: "'xinference[mlx]'"

Expected behavior / 期待表现

修改文档:https://inference.readthedocs.io/zh-cn/latest/getting_started/installation.html#installation
兼顾linux和windows环境,确保都能执行成功。

pip install 'xinference[sglang]'
——改为 pip install "xinference[sglang]" -U

pip install 'xinference[mlx]'
——改为:pip install “xinference[mlx]” -U

@XprobeBot XprobeBot added this to the v0.14 milestone Sep 2, 2024
@qinxuye
Copy link
Contributor

qinxuye commented Sep 2, 2024

欢迎提交 PR。

nikelius added a commit to nikelius/inference that referenced this issue Sep 2, 2024
参考: xorbitsai#2206
修改:统一改为双引号,确保linux和windows环境都能执行成功(单引号在win下执行错误)

pip install 'xinference[sglang]'
——改为 pip install "xinference[sglang]" -U

pip install 'xinference[mlx]'
——改为:pip install “xinference[mlx]” -U
@qinxuye qinxuye closed this as completed Sep 2, 2024
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

3 participants