chatchat-space / Langchain-Chatchat

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain
Apache License 2.0
30.06k stars 5.26k forks source link

Ubuntu20.04系统可以运行吗 #3675

Closed tianyu-yh closed 3 months ago

tianyu-yh commented 3 months ago

对Ubuntu系统有要求吗,20.04版本可以吗

dosubot[bot] commented 3 months ago

Hey there, @tianyu-yh! Great to see you back. Hope you're doing well and ready for another tech adventure! 🚀

Based on the information available in the Langchain-Chatchat repository, there isn't any specific mention of system requirements for running the software on Ubuntu 20.04 or any other operating system. The programming language used in the Langchain-Chatchat codebase is Python, but there's no information about the compatibility of the software with different versions of Python.

However, Python-based applications generally have good compatibility across different operating systems, including various versions of Ubuntu. If you encounter any issues while trying to run Langchain-Chatchat on Ubuntu 20.04, it would be helpful to have more details about the specific problems you're experiencing. This could include error messages, the steps you took leading up to the issue, and any other relevant information. This will help in providing a more accurate solution to your problem. You can refer to this issue for more details.

As for the Python version and libraries, there isn't any specific information about the minimum Python version required to run Langchain-Chatchat. However, there are specific Python libraries or dependencies required to run Langchain-Chatchat. These include torch, torchvision, torchaudio, xformers, transformers, sentence_transformers, langchain, langchain-experimental, pydantic, fschat, openai, fastapi, sse_starlette, nltk, uvicorn, starlette, unstructured, python-magic-bin (specifically for Windows platform), SQLAlchemy, faiss-cpu, accelerate, spacy, PyMuPDF, rapidocr_onnxruntime, requests, pathlib, pytest, numexpr, strsimpy, markdownify, tiktoken, tqdm, websockets, numpy, pandas, einops, transformers_stream_generator, vllm (specifically for Linux platform), httpx, httpx_sse, llama-index, pyjwt. These dependencies are necessary for running Langchain-Chatchat as indicated in the provided requirements_api.txt file.

Running Langchain-Chatchat on Ubuntu 20.04 requires specific configurations and setups. Based on the provided startup.py script, the following configurations and setups are necessary: Python Environment, Dependencies Installation, Environment Variables, Database Setup, Hardware Requirements, Network Configuration, File System Permissions, Additional Python Scripts, Operating System Dependencies, Security Considerations. Before running the script, ensure all the above configurations and setups are correctly addressed.

Unfortunately, I wasn't able to find any Dockerfile or any other containerization support provided in the Langchain-Chatchat repository that could simplify the setup process on Ubuntu 20.04.

I hope this information helps. If you have any other questions or need further clarification, feel free to ask.

Sources

#### About Dosu This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot.
AdelineMing1998 commented 3 months ago

hi,我是Ubuntu 20.04 Desktop LTS,目前是成功运行了本项目,希望对您有帮助。

zRzRzRzRzRzRzR commented 3 months ago

可以