Windows部署
1、克隆代码
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
2、修改配置文件
a、将 config.example.toml 文件复制一份,命名为 config.toml
b、按照 config.toml 文件中的说明,配置好 pexels_api_keys 和 llm_provider,并根据 llm_provider 对应的服务商,配置相关的 API Key
注:
在https://www.pexels.com/api/ 注册获取 pexels_api_keys
在 https://platform.moonshot.cn/ 注册获取 API Key
3、创建虚拟环境
在win CMD 执行以下命令
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
cd MoneyPrinterTurbo
conda create -n MoneyPrinterTurbo python=3.10
conda activate MoneyPrinterTurbo
pip install -r requirements.txt
4、 安装好 ImageMagick
下载 https://imagemagick.org/script/download.php 选择Windows版本,切记一定要选择 静态库 版本,比如 ImageMagick-7.1.1-32-Q16-x64-static.exe
安装下载好的 ImageMagick,注意不要修改安装路径
修改 配置文件 config.toml 中的 imagemagick_path 为你的 实际安装路径
5、启动启动Web界面
conda activate MoneyPrinterTurbo
webui.bat
启动后界面