import{_ as i,r as a,o as l,c,b as t,d as e,a as n,e as r}from"./app-DmOgKj_K.js";const s={},d=t("h2",{id:"开始安装",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#开始安装"},[t("span",null,[t("strong",null,"开始安装")])])],-1),p={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=t("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},u=t("code",null,"Python3.10+",-1),y=t("li",null,[e("克隆项目 "),t("code",null,"git clone https://github.com/snowykami/LiteyukiBot")],-1),_=t("li",null,[e("进入轻雪目录 "),t("code",null,"cd LiteyukiBot")],-1),g=t("li",null,[e("安装依赖 "),t("code",null,"pip install -r requirements.txt")],-1),v=t("li",null,[e("启动 "),t("code",null,"python main.py")],-1),k=r('

设备要求

注意

如果设备上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python为你的Python可执行文件路径

提示

推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用python -m venv venv来创建虚拟环境,然后使用venv\\Scripts\\activate来激活虚拟环境

注意

轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能

其他问题请移步至答疑

',6);function f(w,x){const o=a("ExternalLinkIcon");return l(),c("div",null,[d,t("ol",null,[t("li",null,[e("安装 "),t("a",p,[h,n(o)]),e(" 和 "),t("a",m,[u,n(o)]),e(" 环境")]),y,_,g,v]),k])}const b=i(s,[["render",f],["__file","install.html.vue"]]),L=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]},{"level":2,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":7}]},"readingTime":{"minutes":1.05,"words":316},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{b as comp,L as data};