Closed xitong-0629 closed 4 months ago
Try pip uninstall spacy
And then try to run the install command again
@xitong-0629 Are you utilizing conda or simply python for your environment? For those using conda, proceed with these commands:
conda create -n dbgpt_env python=3.10
conda activate dbgpt_env
pip install -e ".[default]"
For python users, initiate a new virtual environment, access it, and then run:
pip install -e ".[default]"
This issue has been marked as stale
, because it has been over 30 days without any activity.
This issue bas been closed, because it has been marked as stale
and there has been no activity for over 7 days.
Search before asking
Operating system information
Linux
Python version information
DB-GPT version
main
Related scenes
Installation Information
[X] Installation From Source
[ ] Docker Installation
[ ] Docker Compose Installation
[ ] Cluster Installation
[ ] AutoDL Image
[ ] Other
Device information
Device: CPU
Models information
LLM_MODEL=chatgpt_proxyllm embedding_model:text2vec-large-chinese
What happened
When deploying DB-GPT 0.5.3 via source code and running
pip install -e ".[default]"
, it prompts 'Installing build dependencies ... error', detailed error information is as follows:I tried modifying setup.py, changing the package
spacy
to the latest version 3.7.4, and the error disappeared. The same problem also occurred withtorch
,torchvision
, andtorchaudio
, but after changing to the corresponding latest versions, the error was resolved. I'm a Python novice and not sure about the specific reasons.What you expected to happen
Please take a look and help me understand. The way of changing versions doesn't seem to have hit the core of the issue.😅
How to reproduce
pip install -e ".[default]" According to the document
Additional context
No response
Are you willing to submit PR?