希望有大大可以帮我看看,pipenv shell以后应该怎么继续运行
@echo off
title python虚拟打包工具
mode con cols=80 lines=20
echo 使用前请确保已经安装好Python、环境变量正常
echo=
set a=
set /p a=请输入A安装虚拟环境,B安装AOTU py TO exe打包模块,任意键退出,已安装直接回车键:
if "%a%"=="" goto ch2
if "%a%"=="a"goto ch1
if "%a%"=="A"goto ch1
if "%a%"=="b"goto ch3
if "%a%"=="B"goto ch3
EXIT
:ch1
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pipenv
:ch3
pip install auto-py-to-exe -i https://pypi.tuna.tsinghua.edu.cn/simple/
:ch2
call pipenv shell
echo 已经进入虚拟环境
echo 请输入要添加的模块
set /p answer=
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple %answer%
choice /C AB /M "A继续添加,B去打包py文件"
IF %ERRORLEVEL% EQU 1 goto ch2
IF %ERRORLEVEL% EQU 2 goto ch4
:ch4
auto-py-to-exe
echo auto-py-to-exe 请稍等
ping -n 3 127.1>nul