AzurLaneAutoScript icon indicating copy to clipboard operation
AzurLaneAutoScript copied to clipboard

更新时找不到pip,没有正确更新依赖库

Open Clyde-Li opened this issue 5 years ago • 5 comments

Issue: 更新时,pip安装依赖报错 When updating Alas, the program cannot found pip. Requirements are not installed correctly.

This image shows the error information: image

Possible reason: 最后顺着脚本找了半天,发现实际上调用的是toolkit\command\pip.cmd。toolkit\command被加在了PATH的最前面。 Finally I found alas.bat is actually trying to call "toolkit\command\pip.cmd". "toolkit\command" was inserted into a very top place of the PATH.

toolkit\command\pip.cmd: @"H:\Work\Github\ALAS\ADT-V4\AzurLaneAutoScript\toolkit\python.exe" "H:\Work\Github\ALAS\ADT-V4\AzurLaneAutoScript\toolkit\Scripts\pip.exe" %*

Additional details 我是用Alas-Deploy-Tool-V4.bat部署的,电脑只有一个C盘。 There is no H drive in my laptop. I deployed the Alas by Alas-Deploy-Tool-V4.bat with auto mode.

Clyde-Li avatar Feb 17 '21 16:02 Clyde-Li

我也有這問題

h29800020 avatar Feb 25 '21 16:02 h29800020

该问题+1

QQ-6767 avatar Mar 05 '21 02:03 QQ-6767

我也遇到这个问题,运行一次console.bat就解决了(?) 看起来好像是打包了作者自己的toolkit/command/,并且在alas-deploy-tool-v4安装过程中时没有自动生成对应安装位置的cmd文件

Solved(?) by running console.bat that regenerated toolkit/command/; Seems like the script writer's own toolkit/command/ were packed in the release, and alas-deploy-tool-v4.bat did not generate cmds based on install location

AlexHalogen avatar Jun 12 '21 17:06 AlexHalogen

我也遇到这个问题,运行一次console.bat就解决了(?) 好像是打包了作者自己的toolkit/command/,在并且在alas-deploy-tool-v4安装过程中时没有自动生成对应安装位置的cmd文件

通过运行重新生成 toolkit/command/ 的 console.bat 解决(?);似乎脚本编写者自己的工具包/命令/被打包在发行版中,并且 alas-deploy-tool-v4.bat 没有根据安装位置生成 cmds

我也遇到这个问题,运行一次console.bat就解决了(?) 好像是打包了作者自己的toolkit/command/,在并且在alas-deploy-tool-v4安装过程中时没有自动生成对应安装位置的cmd文件

通过运行重新生成 toolkit/command/ 的 console.bat 解决(?);似乎脚本编写者自己的工具包/命令/被打包在发行版中,并且 alas-deploy-tool-v4.bat 没有根据安装位置生成 cmds

老哥我纯小白什么都不会的那种,能详细点吗。就是怎么运行console.bat ?能稍微花点时间写个步骤吗 @AlexHalogen

thankyyyyyy avatar Jun 22 '21 04:06 thankyyyyyy

#482

LmeSzinc avatar Jul 24 '21 10:07 LmeSzinc