mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 16:39:41 +08:00
Merge branch 'main' of https://github.com/HKUDS/DeepTutor
This commit is contained in:
15
README.md
15
README.md
@@ -27,11 +27,15 @@
|
||||
</div>
|
||||
|
||||
---
|
||||
> **[2025.12.29]** We release DeepTutor v0.1 ✨
|
||||
> **[2025.12.30]** Visit our [Official Website](https://hkuds.github.io/DeepTutor/) for more details!
|
||||
|
||||
<<<<<<< HEAD
|
||||
> **[2025.12.30]** Check our [Official Website](https://hkuds.github.io/DeepTutor/) !
|
||||
|
||||
> **[2026.1.1]** Happy New Years! Join our [GitHub Discussions](https://github.com/HKUDS/DeepTutor/discussions) — share your vision and ideas! 💬
|
||||
=======
|
||||
> **[2025.12.29]** DeepTutor v0.1 is now live! ✨
|
||||
>>>>>>> c81168f271b9a2d35a81b0f1038cf7025d264df0
|
||||
---
|
||||
|
||||
## Key Features of DeepTutor
|
||||
@@ -215,9 +219,10 @@
|
||||
## 📋 Todo
|
||||
|
||||
> 🌟 Star to follow our future updates!
|
||||
- [ ] Project-based learning
|
||||
- [ ] deepcoding from idea generation
|
||||
- [ ] Personalized memory
|
||||
- [ ] Deep-coding from Idea Generation
|
||||
- [ ] Personal Memory Layer from Notebook
|
||||
- [ ] Alternative Choices of RAG Module
|
||||
- [ ] Support Local LLM Deployment
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
@@ -253,6 +258,8 @@ bash scripts/install_all.sh
|
||||
# Alternative: Manual Installation
|
||||
python scripts/install_all.py
|
||||
|
||||
# Note: The installer detects conda/venv for isolation. If no isolated environment is detected, it will print a warning but will continue installing.
|
||||
|
||||
# Or Install Dependencies Manually
|
||||
pip install -r requirements.txt
|
||||
npm install
|
||||
|
||||
@@ -232,6 +232,8 @@ bash scripts/install_all.sh
|
||||
# بديل: استخدام سكريبت Python
|
||||
python scripts/install_all.py
|
||||
|
||||
# ملاحظة: يقوم المُثبّت باكتشاف بيئات conda/venv للعزل. إذا لم يتم اكتشاف بيئة معزولة، فسيعرض تحذيراً لكنه سيواصل التثبيت.
|
||||
|
||||
# أو التثبيت يدوياً
|
||||
pip install -r requirements.txt
|
||||
npm install
|
||||
|
||||
@@ -249,6 +249,8 @@ bash scripts/install_all.sh
|
||||
# 或使用 Python 脚本
|
||||
python scripts/install_all.py
|
||||
|
||||
# 说明:安装脚本会检测 conda/venv 等隔离环境;如果未检测到隔离环境,会给出警告,但仍会继续安装。
|
||||
|
||||
# 或手动安装
|
||||
pip install -r requirements.txt
|
||||
npm install
|
||||
|
||||
@@ -232,6 +232,8 @@ bash scripts/install_all.sh
|
||||
# Alternativa: Usar script Python
|
||||
python scripts/install_all.py
|
||||
|
||||
# Nota: El instalador detecta conda/venv para aislamiento. Si no se detecta un entorno aislado, mostrará una advertencia pero continuará instalando.
|
||||
|
||||
# O instalar manualmente
|
||||
pip install -r requirements.txt
|
||||
npm install
|
||||
|
||||
@@ -232,6 +232,8 @@ bash scripts/install_all.sh
|
||||
# Alternatif: Utiliser le script Python
|
||||
python scripts/install_all.py
|
||||
|
||||
# Remarque: L'installeur détecte conda/venv pour l'isolation. Si aucun environnement isolé n'est détecté, il affichera un avertissement mais continuera l'installation.
|
||||
|
||||
# Ou installer manuellement
|
||||
pip install -r requirements.txt
|
||||
npm install
|
||||
|
||||
@@ -249,6 +249,8 @@ bash scripts/install_all.sh
|
||||
# または Python スクリプトを使用
|
||||
python scripts/install_all.py
|
||||
|
||||
# 注:インストーラーは conda/venv の隔離環境を検出します。隔離環境が検出できない場合は警告を表示しますが、インストールは継続します。
|
||||
|
||||
# または手動でインストール
|
||||
pip install -r requirements.txt
|
||||
npm install
|
||||
|
||||
@@ -47,19 +47,16 @@ def check_virtual_env():
|
||||
in_venv = hasattr(sys, "real_prefix") or (
|
||||
hasattr(sys, "base_prefix") and sys.base_prefix != sys.prefix
|
||||
)
|
||||
conda_env = os.environ.get("CONDA_DEFAULT_ENV")
|
||||
|
||||
if not in_venv:
|
||||
print_warning("Virtual environment not detected")
|
||||
print_info("It's recommended to run this script in a virtual environment")
|
||||
print_info("Create virtual environment: python -m venv venv")
|
||||
print_info("Activate virtual environment:")
|
||||
if sys.platform == "win32":
|
||||
print_info(" Windows: venv\\Scripts\\activate")
|
||||
else:
|
||||
print_info(" Linux/Mac: source venv/bin/activate")
|
||||
print_info("Continuing installation...\n")
|
||||
else:
|
||||
if conda_env:
|
||||
print_success(f"Conda environment detected: {conda_env}")
|
||||
elif in_venv:
|
||||
print_success(f"Virtual environment detected: {sys.prefix}")
|
||||
else:
|
||||
print_warning("No isolated environment detected")
|
||||
print_info("Recommended: use conda or venv for isolation")
|
||||
print_info("Continuing installation...\n")
|
||||
|
||||
|
||||
def print_warning(message: str):
|
||||
|
||||
Reference in New Issue
Block a user