diff --git a/01A.构建运行环境(默认源).bat b/01A.构建运行环境(默认源).bat index b96ba72..ae4b27e 100644 --- a/01A.构建运行环境(默认源).bat +++ b/01A.构建运行环境(默认源).bat @@ -4,4 +4,5 @@ python -m venv venv call venv\Scripts\activate.bat pip install -r .\requirements.txt pip install torch --extra-index-url https://download.pytorch.org/whl/cu113 -pause \ No newline at end of file +type .\venv\Lib\site-packages\__init__.py +pause diff --git a/01B.构建运行环境(国内源).bat b/01B.构建运行环境(国内源).bat index dcd02ed..72dee0d 100644 --- a/01B.构建运行环境(国内源).bat +++ b/01B.构建运行环境(国内源).bat @@ -3,4 +3,5 @@ python -m venv venv call venv\Scripts\activate.bat pip install -r .\requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple pip install torch --extra-index-url https://download.pytorch.org/whl/cu113 -pause \ No newline at end of file +type .\venv\Lib\site-packages\__init__.py +pause