我将下面的内容存储在一个批处理文件中。但是文件没有完成,因为这一行:
convert-to-exe\scripts\activate如何让它执行该命令,并在同一个窗口中继续执行其余的行?
ECHO OFF
COLOR 0F
pip install virtualenv
virtualenv convert-to-exe
convert-to-exe\scripts\activate
pip install gspread
pip install openpyxl
pip install pyinstaller
pyinstaller --noconsole --onefile "ZSCRIPT.py" 发布于 2022-07-10 16:54:41
您还没有告诉我们可执行convert-to-exe\scripts\activate的类型,但是考虑到它的位置,它可能是一个脚本,所以..。
call convert-to-exe\scripts\activate应该能解决你的问题。
https://stackoverflow.com/questions/72930213
复制相似问题