Skip to content

nianling/BabyBus

Repository files navigation

BabyBus

Dungeons and Baby Bus

# 先安装python3.10.x
# 下载地址
https://www.python.org/downloads/windows/

# 环境依赖管理方式一:使用uv管理项目

# 1. 安装uv
# 方式一:手动下载uv,解压文件并将路径配置到path环境变量
https://github.com/astral-sh/uv/releases
# 方式二:powershell命令行安装
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# 方式三:pypi安装
pipx install uv

# 2. 同步项目依赖,项目根目录执行
uv sync

# 3. 双击start.abyss.bat、start.stronger.bat启动脚本

###### IDE 和 终端 #######

# IDE设置: 设置解释器,使用uv生成的venv

# 终端设置: 激活环境 (powershell: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned)
.venv\Scripts\activate
# 环境依赖管理方式二:使用conda创建python环境

# 1.创建conda环境
conda create -n yolo11py310 python=3.10
# 2.激活环境
conda activate yolo11py310

# 3.安装依赖

# 安装ultralytics
pip install ultralytics -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

#pip install labelimg -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

#[EasyOCR简单实用 - 知乎](https://zhuanlan.zhihu.com/p/636663266?utm_id=0)
#pip install easyocr -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

pip install loguru -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

pip install keyboard -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
pip install playsound -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

pip install pynput -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
pip install pywin32 -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
pip install pyautogui -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

# 全部一次性安装
#pip install ultralytics easyocr loguru keyboard playsound pynput pywin32 pyautogui -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

# 重新安装opencv-python
pip uninstall opencv-python-headless
pip uninstall opencv-python
pip install opencv-python

# 4. pycharm设置解释器,使用创建的conda环境
#########

BabyBus

This project was created and is maintained by 廿陵(https://github.com/nianling).

This is an open-source project that allows you to download, use, and modify the code, subject to the following rules:

  • Attribution Requirement: Any derivative works based on this project must retain the original author's copyright notice.
  • Non-Commercial Use: This project is strictly prohibited from being used for commercial purposes (including but not limited to selling, distributing, or monetizing the code or its derivatives). Contact the original author for commercial licensing requests.
  • License: This project is licensed under the GNU Affero General Public License (AGPL) with an additional restriction prohibiting commercial use.

License Details

This project adheres to the terms of the GNU Affero General Public License (AGPL), which ensures that users can freely use, modify, and share the code, provided they also share any modifications under the same license. Additionally, the following restriction applies:

Commercial use of this software is forbidden without explicit permission from the original author.

For inquiries about commercial licensing, please contact:
Author: [廿陵]
Email: wemean66@gmail.com, nianlingbeige@163.com
GitHub: https://github.com/nianling

Full license text is available in the LICENSE file.

About

Dungeons and Baby Bus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors