inference icon indicating copy to clipboard operation
inference copied to clipboard

pip install show error

Open JonSmall opened this issue 1 year ago • 1 comments

Describe the bug

conda create -n xin conda activate xin pip install "xinference[all]"

I dont know what the problem is , and which xinference version show I use, or python version It show errors below

Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [4 lines of output] Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 15, in import json ModuleNotFoundError: No module named 'json' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

JonSmall avatar Dec 25 '23 05:12 JonSmall

@JonSmall You create a new python conda env, however, the error message shows that you used python from /usr/local/lib/python3.8. Please check this.

ChengjieLi28 avatar Dec 25 '23 06:12 ChengjieLi28

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] avatar Aug 07 '24 19:08 github-actions[bot]

This issue was closed because it has been inactive for 5 days since being marked as stale.

github-actions[bot] avatar Aug 12 '24 19:08 github-actions[bot]