本文最后更新于26 天前,其中的信息可能已经过时,如有错误请发送邮件到[email protected]或[email protected]
写给自己看的免得忘了,如果遇到新的问题会更新。
文章用到的文件链接:点我直达
Windows
0.懒人推荐直接使用Windows10,只需要执行步骤1即可。
1.alas需安装win常用依赖环境,下载分享中的微软常用运行库.exe,以管理员身份运行安装。
2.低于win10的windows系统可能会遇到的系统问题,以我使用的WindowsServer2012R2为例,需要依次安装分享中的1.Windows8.1-KB2919442-x64.msu、2.Windows8.1-KB2999226-x64.msu、3.Windows8.1-KB2919355-x64.msu,安装完后执行步骤1即可。其他版本需要你自己解决。
Linux
0.相比直接在宿主机部署,这里更推荐使用docker,指路hajiming/azurlaneautoscript,该镜像为环境镜像,需要在宿主机克隆仓库后指定仓库路径;你也可以使用全量镜像,指路olivercwy/alas,直接启动容器即可使用。
1.宿主机安装依赖时可能会遇到的依赖问题,按此操作可解决。
sudo apt-get update
sudo apt-get install -y build-essential
pip install av --only-binary=:all: -i https://pypi.tuna.tsinghua.edu.cn/simple
sed -i 's/av==10.0.0/av>=10.0.0/g' deploy/headless/requirements.txt
pip install "Cython<3.0" -i https://pypi.tuna.tsinghua.edu.cn/simple




